Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitLinearize.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestCylinderUnitLinearize,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitLinearize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinderUnitLinearize,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitLinearize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007263/0.0007263, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007768/0.0007768, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.163/1.163, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.00697/0.00697, allocations: 1.924 MB / 272.3 MB, free: 3.395 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004213/0.0004213, allocations: 12 kB / 331 MB, free: 33.25 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06422/0.06465, allocations: 48.09 MB / 379.1 MB, free: 1.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.002823/0.06751, allocations: 3.02 MB / 382.1 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.06853, allocations: 0.8037 MB / 382.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.06867, allocations: 4 kB / 382.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.06879, allocations: 43.61 kB / 383 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.069, allocations: 138.8 kB / 383.1 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.06919, allocations: 63.89 kB / 383.2 MB, free: 13.01 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.0695, allocations: 390.1 kB / 383.5 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.06968, allocations: 93.89 kB / 383.6 MB, free: 12.54 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001059/0.06979, allocations: 123.4 kB / 383.7 MB, free: 12.42 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.06995, allocations: 131.3 kB / 383.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.93e-05/0.06999, allocations: 16 kB / 383.9 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.903e-05/0.07006, allocations: 27.98 kB / 383.9 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.07011, allocations: 43.78 kB / 384 MB, free: 12.2 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.535e-05/0.07018, allocations: 93.52 kB / 384.1 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.07042, allocations: 279.3 kB / 384.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.07043, allocations: 0 / 384.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.07044, allocations: 0 / 384.3 MB, free: 11.83 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.07045, allocations: 0 / 384.3 MB, free: 11.83 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0007289/0.07118, allocations: 0.5765 MB / 384.9 MB, free: 11.21 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.07122, allocations: 11.97 kB / 384.9 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.764e-05/0.07131, allocations: 67.09 kB / 385 MB, free: 11.12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.349e-05/0.07137, allocations: 39.53 kB / 385 MB, free: 11.08 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.07165, allocations: 281.5 kB / 385.3 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.881e-05/0.07167, allocations: 16.56 kB / 385.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.426e-05/0.07172, allocations: 32 kB / 385.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.07208, allocations: 236.8 kB / 385.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.0721, allocations: 0 / 385.6 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.07212, allocations: 8 kB / 385.6 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.07214, allocations: 8 kB / 385.6 MB, free: 10.46 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002567/0.0724, allocations: 170.2 kB / 385.8 MB, free: 10.3 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.07346, allocations: 0.8144 MB / 386.6 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004184/0.07389, allocations: 190.5 kB / 386.8 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.07401, allocations: 72.83 kB / 386.8 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.07404, allocations: 0 / 386.8 MB, free: 9.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.07407, allocations: 38.56 kB / 386.9 MB, free: 9.113 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 9.42e-07/0.07407, allocations: 0 / 386.9 MB, free: 9.113 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001307/0.07538, allocations: 0.9421 MB / 387.8 MB, free: 8.082 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.07543, allocations: 55.41 kB / 387.9 MB, free: 8.016 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.07568, allocations: 279 kB / 388.1 MB, free: 7.734 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.0757, allocations: 29.7 kB / 388.2 MB, free: 7.699 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.07581, allocations: 188.2 kB / 388.3 MB, free: 7.508 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.368e-05/0.07587, allocations: 90.66 kB / 388.4 MB, free: 7.418 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.07589, allocations: 8 kB / 388.4 MB, free: 7.41 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.076, allocations: 338.8 kB / 388.8 MB, free: 7.07 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001142/0.07612, allocations: 60.53 kB / 388.8 MB, free: 7.012 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.07625, allocations: 105.4 kB / 388.9 MB, free: 6.895 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.07638, allocations: 79.94 kB / 389 MB, free: 6.816 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.07639, allocations: 4 kB / 389 MB, free: 6.812 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003171/0.07671, allocations: 249.8 kB / 389.3 MB, free: 6.562 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.229e-05/0.07677, allocations: 120.5 kB / 389.4 MB, free: 6.426 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.07679, allocations: 4 kB / 389.4 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.849e-06/0.0768, allocations: 0 / 389.4 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.07702, allocations: 63.91 kB / 389.4 MB, free: 6.359 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.07704, allocations: 0 / 389.4 MB, free: 6.359 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.07715, allocations: 8 kB / 389.5 MB, free: 6.352 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.07717, allocations: 8 kB / 389.5 MB, free: 6.344 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.412e-06/0.07718, allocations: 6.969 kB / 389.5 MB, free: 6.34 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002653/0.07745, allocations: 195.8 kB / 389.7 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.07746, allocations: 8 kB / 389.7 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-06/0.07747, allocations: 0 / 389.7 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001895/0.07767, allocations: 67.81 kB / 389.7 MB, free: 6.074 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.07768, allocations: 0 / 389.7 MB, free: 6.074 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.312e-05/0.07777, allocations: 11.98 kB / 389.7 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.07779, allocations: 8 kB / 389.8 MB, free: 6.055 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001365/0.07793, allocations: 225.1 kB / 390 MB, free: 5.824 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.503e-05/0.07798, allocations: 31.69 kB / 390 MB, free: 5.793 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.0783, allocations: 219.8 kB / 390.2 MB, free: 5.574 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.07831, allocations: 3.953 kB / 390.2 MB, free: 5.57 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.07832, allocations: 4 kB / 390.2 MB, free: 5.566 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.07833, allocations: 3.984 kB / 390.2 MB, free: 5.562 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007654/0.0791, allocations: 0.7117 MB / 390.9 MB, free: 4.781 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.07912, allocations: 3.984 kB / 390.9 MB, free: 4.777 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.07939, allocations: 63.91 kB / 391 MB, free: 4.715 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.0794, allocations: 4 kB / 391 MB, free: 4.711 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.07942, allocations: 8 kB / 391 MB, free: 4.703 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.07943, allocations: 3.984 kB / 391 MB, free: 4.699 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.07944, allocations: 4 kB / 391 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004366/0.07988, allocations: 431.4 kB / 391.4 MB, free: 4.242 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.07999, allocations: 132.7 kB / 391.6 MB, free: 4.094 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.08003, allocations: 4 kB / 391.6 MB, free: 4.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.08019, allocations: 16 kB / 391.6 MB, free: 4.074 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.162e-05/0.08022, allocations: 19.97 kB / 391.6 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.08024, allocations: 8 kB / 391.6 MB, free: 4.047 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001539/0.0804, allocations: 198 kB / 391.8 MB, free: 3.852 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08041, allocations: 0 / 391.8 MB, free: 3.852 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003954/0.08081, allocations: 112 kB / 391.9 MB, free: 3.742 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 26 * 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.0006416/0.08146, allocations: 0.9666 MB / 392.9 MB, free: 2.73 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000382/0.08185, allocations: 288.4 kB / 393.2 MB, free: 2.449 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.08186, allocations: 0 / 393.2 MB, free: 2.449 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.08198, allocations: 91.8 kB / 393.3 MB, free: 2.359 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.08239, allocations: 52.73 kB / 393.3 MB, free: 2.305 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.08473, allocations: 1.942 MB / 395.3 MB, free: 300 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.08501, allocations: 0.7717 MB / 396 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001278/0.08514, allocations: 38.25 kB / 396.1 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.08529, allocations: 99.41 kB / 396.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.0853, allocations: 0 / 396.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01396/0.09926, allocations: 5.387 MB / 401.6 MB, free: 9.977 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.09947, allocations: 151.9 kB / 401.7 MB, free: 9.738 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.503/1.602, allocations: 0 / 401.7 MB, free: 9.738 MB / 302.1 MB (rm -f MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitLinearize.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitLinearize.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitLinearize.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinderUnitLinearize_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinderUnitLinearize.fmu > MEV_MEV.Test.TestCylinderUnitLinearize.pipe 2>&1) Environment - environmentSimulation: