Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HanserModelica.VariablesTypes.VectorsMatrices2,fileNamePrefix="HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 173.9 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.088/0.088, allocations: 8.702 MB / 21.96 MB, free: 3.367 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.4 MB / 246 MB, free: 3.555 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008792/0.0008792, allocations: 103 kB / 299.1 MB, free: 2.984 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.812e-05/3.815e-05, allocations: 4 kB / 359.6 MB, free: 6.422 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3087/0.3087, allocations: 52.55 MB / 412.2 MB, free: 22.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.4221, allocations: 76.94 MB / 489.1 MB, free: 9.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.4224, allocations: 59.97 kB / 489.2 MB, free: 9.422 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003379/0.4258, allocations: 1.161 MB / 490.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4258, allocations: 0 / 490.3 MB, free: 8.262 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.4258, allocations: 0 / 490.3 MB, free: 8.262 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003385/0.4261, allocations: 378.2 kB / 490.7 MB, free: 7.848 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.4262, allocations: 16.02 kB / 490.7 MB, free: 7.832 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.418e-05/0.4263, allocations: 105.8 kB / 490.8 MB, free: 7.719 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.463e-05/0.4264, allocations: 87.14 kB / 490.9 MB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.4267, allocations: 283 kB / 491.2 MB, free: 7.312 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.357e-05/0.4267, allocations: 150.6 kB / 491.3 MB, free: 7.164 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.789e-05/0.4268, allocations: 150.6 kB / 491.5 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.905e-05/0.4269, allocations: 113.1 kB / 491.6 MB, free: 6.898 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.227e-05/0.4269, allocations: 75.28 kB / 491.6 MB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.249e-05/0.427, allocations: 154.5 kB / 491.8 MB, free: 6.672 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/0.4271, allocations: 158.5 kB / 492 MB, free: 6.516 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.898e-05/0.4271, allocations: 150.6 kB / 492.1 MB, free: 6.367 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.4275, allocations: 485.9 kB / 492.6 MB, free: 5.844 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.161e-05/0.4276, allocations: 169.1 kB / 492.7 MB, free: 5.668 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.853e-05/0.4277, allocations: 84.14 kB / 492.8 MB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.4277, allocations: 75.28 kB / 492.9 MB, free: 5.508 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.614e-05/0.4278, allocations: 109.8 kB / 493 MB, free: 5.391 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.4278, allocations: 7.938 kB / 493 MB, free: 5.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 9.662e-05/0.4279, allocations: 37.59 kB / 493 MB, free: 5.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.428, allocations: 126.7 kB / 493.2 MB, free: 5.203 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.4282, allocations: 215 kB / 493.4 MB, free: 4.988 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.4282, allocations: 25.7 kB / 493.4 MB, free: 4.957 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.4283, allocations: 120.1 kB / 493.5 MB, free: 4.836 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.108e-06/0.4283, allocations: 0 / 493.5 MB, free: 4.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-07/0.4283, allocations: 3.938 kB / 493.5 MB, free: 4.832 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.4285, allocations: 330.8 kB / 493.8 MB, free: 4.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-06/0.4285, allocations: 0 / 493.8 MB, free: 4.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-06/0.4285, allocations: 0 / 493.8 MB, free: 4.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.954e-05/0.4285, allocations: 79.28 kB / 493.9 MB, free: 4.422 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-05/0.4285, allocations: 75.28 kB / 494 MB, free: 4.348 MB / 362.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.38e-05/0.4286, allocations: 37.52 kB / 494 MB, free: 4.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.4287, allocations: 83.28 kB / 494.1 MB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-05/0.4287, allocations: 79.22 kB / 494.2 MB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.432e-05/0.4288, allocations: 158.5 kB / 494.3 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.398e-05/0.4288, allocations: 75.28 kB / 494.4 MB, free: 3.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.886e-05/0.4289, allocations: 162.5 kB / 494.6 MB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.582e-05/0.429, allocations: 75.58 kB / 494.7 MB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.429, allocations: 87.17 kB / 494.7 MB, free: 3.594 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.4291, allocations: 261.6 kB / 495 MB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.797e-05/0.4292, allocations: 116.8 kB / 495.1 MB, free: 3.211 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.476e-05/0.4293, allocations: 117.5 kB / 495.2 MB, free: 3.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.068e-05/0.4294, allocations: 184.2 kB / 495.4 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.911e-05/0.4295, allocations: 180.2 kB / 495.6 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.28e-05/0.4295, allocations: 180.2 kB / 495.8 MB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.4298, allocations: 441.2 kB / 496.2 MB, free: 2.047 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-05/0.4299, allocations: 108.9 kB / 496.3 MB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.059e-05/0.4299, allocations: 105 kB / 496.4 MB, free: 1.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.008e-05/0.43, allocations: 180.3 kB / 496.6 MB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.053e-05/0.4301, allocations: 180.2 kB / 496.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.329e-05/0.4302, allocations: 184.3 kB / 496.9 MB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.103e-05/0.4303, allocations: 180.2 kB / 497.1 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.4305, allocations: 316.6 kB / 497.4 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.4306, allocations: 193.8 kB / 497.6 MB, free: 0.5391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.904e-05/0.4307, allocations: 180.3 kB / 497.8 MB, free: 364 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4308, allocations: 116.9 kB / 497.9 MB, free: 240 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.078e-05/0.4309, allocations: 176.3 kB / 498.1 MB, free: 56 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-05/0.4309, allocations: 105.5 kB / 498.2 MB, free: 15.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001602/0.4311, allocations: 173.5 kB / 498.3 MB, free: 15.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4311, allocations: 0 / 498.3 MB, free: 15.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002628/0.4314, allocations: 7.938 kB / 498.3 MB, free: 15.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004204/0.4318, allocations: 0.8203 MB / 499.2 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 3.502e-05/0.4319, allocations: 0 / 499.2 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4319, allocations: 0 / 499.2 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.4319, allocations: 0 / 499.2 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.4322, allocations: 0.5278 MB / 499.7 MB, free: 14.39 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005006/0.4327, allocations: 284.2 kB / 500 MB, free: 14.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/0.4331, allocations: 0.716 MB / 0.489 GB, free: 13.33 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.518e-05/0.4331, allocations: 0 / 0.489 GB, free: 13.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.37e-05/0.4331, allocations: 27.42 kB / 0.489 GB, free: 13.3 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4331, allocations: 0 / 0.489 GB, free: 13.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01213/0.4453, allocations: 1.647 MB / 0.4906 GB, free: 11.77 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/0.4455, allocations: 158.4 kB / 0.4907 GB, free: 11.54 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.53/1.976, allocations: 0 / 0.4907 GB, free: 11.54 MB / 378.7 MB (rm -f HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; mkfifo HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe ; head -c 1048576 < HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe >> ../files/HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 HanserModelica_HanserModelica_VariablesTypes_VectorsMatrices2.fmu > HanserModelica_HanserModelica.VariablesTypes.VectorsMatrices2.pipe 2>&1)