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/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/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.0009857/0.0009858, allocations: 90.98 kB / 15.36 MB, free: 0.7383 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.007579/0.007579, allocations: 170.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.007465/0.007465, allocations: 1.924 MB / 272.7 MB, free: 3.289 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.0004412/0.0004411, allocations: 16.2 kB / 331.6 MB, free: 32.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06157/0.06202, allocations: 48.09 MB / 379.7 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.003301/0.06535, allocations: 3.17 MB / 382.9 MB, free: 13.55 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001484/0.06686, allocations: 0.819 MB / 383.7 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002607/0.06714, allocations: 4 kB / 383.7 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.06731, allocations: 43.69 kB / 383.7 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003011/0.06762, allocations: 99.2 kB / 383.8 MB, free: 12.58 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.06796, allocations: 79.89 kB / 383.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004926/0.06847, allocations: 402.1 kB / 384.3 MB, free: 12.11 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.06869, allocations: 115.4 kB / 384.4 MB, free: 12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.06884, allocations: 127.3 kB / 384.5 MB, free: 11.87 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.06901, allocations: 135.3 kB / 384.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.295e-05/0.06905, allocations: 16 kB / 384.7 MB, free: 11.72 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.356e-05/0.06913, allocations: 23.98 kB / 384.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.06918, allocations: 51.66 kB / 384.8 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001461/0.06933, allocations: 184.8 kB / 384.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000312/0.06965, allocations: 366.6 kB / 385.3 MB, free: 11.1 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.06966, allocations: 0 / 385.3 MB, free: 11.1 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.06967, allocations: 4 kB / 385.3 MB, free: 11.1 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.06968, allocations: 0 / 385.3 MB, free: 11.1 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.0007343/0.07042, allocations: 0.5611 MB / 385.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.07046, allocations: 15.97 kB / 385.9 MB, free: 10.47 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.371e-05/0.07055, allocations: 67.28 kB / 385.9 MB, free: 10.4 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.664e-05/0.07062, allocations: 40.47 kB / 386 MB, free: 10.36 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.0709, allocations: 286.7 kB / 386.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.07092, allocations: 24.88 kB / 386.3 MB, free: 10.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.419e-05/0.07097, allocations: 31.92 kB / 386.3 MB, free: 9.984 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003695/0.07135, allocations: 236.9 kB / 386.5 MB, free: 9.746 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.07138, allocations: 4 kB / 386.6 MB, free: 9.742 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.07141, allocations: 8 kB / 386.6 MB, free: 9.734 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.07143, allocations: 8 kB / 386.6 MB, free: 9.727 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002894/0.07172, allocations: 170.2 kB / 386.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.07296, allocations: 0.8105 MB / 387.5 MB, free: 8.699 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005336/0.07351, allocations: 190.5 kB / 387.7 MB, free: 8.504 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.07364, allocations: 76.81 kB / 387.8 MB, free: 8.426 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.07367, allocations: 0 / 387.8 MB, free: 8.426 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.07371, allocations: 46.5 kB / 387.9 MB, free: 8.371 MB / 286.1 MB Notification: Performance of pre-optimization done (n=20): time 9.11e-07/0.07371, allocations: 0 / 387.9 MB, free: 8.371 MB / 286.1 MB Notification: Performance of matching and sorting (n=25): time 0.001521/0.07524, allocations: 0.9415 MB / 388.8 MB, free: 7.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.07528, allocations: 59.41 kB / 388.9 MB, free: 7.27 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002609/0.07555, allocations: 279 kB / 389.1 MB, free: 6.984 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.07558, allocations: 29.7 kB / 389.2 MB, free: 6.949 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.79e-05/0.07568, allocations: 184.2 kB / 389.3 MB, free: 6.762 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.177e-05/0.07575, allocations: 94.8 kB / 389.4 MB, free: 6.668 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.982e-05/0.0758, allocations: 29.7 kB / 389.5 MB, free: 6.633 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.07591, allocations: 338.8 kB / 389.8 MB, free: 6.293 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.07602, allocations: 64.53 kB / 389.8 MB, free: 6.23 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.07617, allocations: 113.3 kB / 390 MB, free: 6.105 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.07642, allocations: 184.7 kB / 390.1 MB, free: 5.91 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.07643, allocations: 4 kB / 390.1 MB, free: 5.906 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003761/0.07681, allocations: 249.3 kB / 390.4 MB, free: 5.656 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.344e-05/0.0769, allocations: 124.3 kB / 390.5 MB, free: 5.516 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.07691, allocations: 8.125 kB / 390.5 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.07693, allocations: 0 / 390.5 MB, free: 5.508 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002266/0.07716, allocations: 55.92 kB / 390.6 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.07718, allocations: 7.922 kB / 390.6 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.07731, allocations: 8 kB / 390.6 MB, free: 5.438 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.07733, allocations: 12 kB / 390.6 MB, free: 5.426 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/0.07735, allocations: 4 kB / 390.6 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003123/0.07766, allocations: 195.8 kB / 390.8 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-06/0.07767, allocations: 0 / 390.8 MB, free: 5.23 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-06/0.07769, allocations: 8.125 kB / 390.8 MB, free: 5.223 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.07789, allocations: 51.92 kB / 390.9 MB, free: 5.172 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.0779, allocations: 7.938 kB / 390.9 MB, free: 5.164 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.859e-05/0.07801, allocations: 4 kB / 390.9 MB, free: 5.16 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.07803, allocations: 15.98 kB / 390.9 MB, free: 5.145 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002127/0.07825, allocations: 225.1 kB / 391.1 MB, free: 4.914 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.07831, allocations: 27.62 kB / 391.1 MB, free: 4.887 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.07868, allocations: 215.8 kB / 391.3 MB, free: 4.672 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.0787, allocations: 11.94 kB / 391.3 MB, free: 4.66 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.07871, allocations: 0 / 391.3 MB, free: 4.66 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.07872, allocations: 3.984 kB / 391.4 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008286/0.07955, allocations: 0.7092 MB / 392.1 MB, free: 3.875 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.07957, allocations: 4.031 kB / 392.1 MB, free: 3.871 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002667/0.07984, allocations: 63.91 kB / 392.1 MB, free: 3.809 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.329e-06/0.07985, allocations: 4 kB / 392.1 MB, free: 3.805 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.07987, allocations: 8 kB / 392.1 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.07988, allocations: 0 / 392.1 MB, free: 3.797 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.07989, allocations: 7.938 kB / 392.1 MB, free: 3.789 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004807/0.08037, allocations: 439.7 kB / 392.6 MB, free: 3.328 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.0805, allocations: 132.7 kB / 392.7 MB, free: 3.18 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.748e-05/0.08054, allocations: 8 kB / 392.7 MB, free: 3.172 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.08071, allocations: 12 kB / 392.7 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.08075, allocations: 23.91 kB / 392.7 MB, free: 3.137 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.08077, allocations: 8 kB / 392.8 MB, free: 3.129 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000179/0.08095, allocations: 202 kB / 393 MB, free: 2.934 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.08096, allocations: 0 / 393 MB, free: 2.934 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000418/0.08138, allocations: 112 kB / 393.1 MB, free: 2.824 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007532/0.08214, allocations: 0.9667 MB / 394 MB, free: 1.812 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004342/0.08259, allocations: 276.3 kB / 394.3 MB, free: 1.543 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.0826, allocations: 8.125 kB / 394.3 MB, free: 1.535 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.08273, allocations: 91.86 kB / 394.4 MB, free: 1.445 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005237/0.08326, allocations: 49.03 kB / 394.4 MB, free: 1.395 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003474/0.08674, allocations: 3.286 MB / 397.7 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.0871, allocations: 0.7794 MB / 398.5 MB, free: 13.18 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000137/0.08724, allocations: 34.25 kB / 398.5 MB, free: 13.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.08738, allocations: 95.41 kB / 398.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.08739, allocations: 0 / 398.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5493/0.6367, allocations: 5.521 MB / 404.2 MB, free: 7.527 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/0.637, allocations: 171.2 kB / 404.3 MB, free: 7.266 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.152/2.789, allocations: 0 / 404.3 MB, free: 7.266 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/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)