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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 106.5 kB / 16.45 MB, free: 6.508 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 196.6 kB / 19.41 MB, free: 3.676 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 207.6 MB / 229.8 MB, free: 11.43 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01015/0.01015, allocations: 1.963 MB / 283.6 MB, free: 5.094 MB / 222.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "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.002081/0.002081, allocations: 71.8 kB / 396.5 MB, free: 51.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07066/0.07274, allocations: 49.66 MB / 446.2 MB, free: 7.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.003177/0.07592, allocations: 3.139 MB / 449.3 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.07705, allocations: 0.7993 MB / 450.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.07719, allocations: 4 kB / 450.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.07733, allocations: 51.44 kB / 450.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001837/0.07751, allocations: 131 kB / 450.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.07774, allocations: 91.84 kB / 450.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.07802, allocations: 430 kB / 450.8 MB, free: 3.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001652/0.07819, allocations: 91.94 kB / 450.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.0783, allocations: 151.4 kB / 451.1 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.07845, allocations: 155.3 kB / 451.2 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.07848, allocations: 36 kB / 451.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.945e-05/0.07856, allocations: 43.98 kB / 451.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.0786, allocations: 71.7 kB / 451.4 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.0787, allocations: 183.1 kB / 451.5 MB, free: 2.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.07901, allocations: 402.4 kB / 451.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.07902, allocations: 0 / 451.9 MB, free: 2.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.07902, allocations: 3.938 kB / 451.9 MB, free: 2.031 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.07903, allocations: 0 / 451.9 MB, free: 2.031 MB / 318.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.0008013/0.07983, allocations: 0.627 MB / 452.6 MB, free: 1.355 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.07986, allocations: 15.89 kB / 452.6 MB, free: 1.34 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.068e-05/0.07994, allocations: 71.28 kB / 452.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.08, allocations: 36.7 kB / 452.7 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002872/0.08029, allocations: 294.8 kB / 453 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.0803, allocations: 20.94 kB / 453 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.08034, allocations: 31.94 kB / 453 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003249/0.08067, allocations: 232.9 kB / 453.3 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.08068, allocations: 3.984 kB / 453.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.08071, allocations: 11.94 kB / 453.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.08071, allocations: 12 kB / 453.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002392/0.08095, allocations: 170.2 kB / 453.4 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001174/0.08213, allocations: 0.8068 MB / 454.3 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.08265, allocations: 182.6 kB / 454.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000128/0.08278, allocations: 72.77 kB / 454.5 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.0828, allocations: 4 kB / 454.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.966e-05/0.08288, allocations: 38.55 kB / 454.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.293e-06/0.08288, allocations: 0 / 454.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001665/0.08454, allocations: 0.9435 MB / 455.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.08459, allocations: 51.41 kB / 455.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003121/0.0849, allocations: 275 kB / 455.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.08494, allocations: 29.7 kB / 455.8 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.08507, allocations: 192.5 kB / 456 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.59e-05/0.08516, allocations: 95.36 kB / 456.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.844e-05/0.08525, allocations: 57.94 kB / 456.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.08542, allocations: 334.8 kB / 456.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.08555, allocations: 73.97 kB / 456.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.08571, allocations: 105.4 kB / 456.7 MB, free: 12.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.086, allocations: 188.2 kB / 456.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.086, allocations: 0 / 456.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004076/0.08641, allocations: 253.8 kB / 457.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.08643, allocations: 15.88 kB / 457.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.08643, allocations: 0 / 457.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.08645, allocations: 4 kB / 457.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.08669, allocations: 64.03 kB / 457.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.0867, allocations: 4 kB / 457.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.08683, allocations: 8 kB / 457.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.08684, allocations: 4 kB / 457.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002198/0.08706, allocations: 176.7 kB / 457.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000148/0.08721, allocations: 116.6 kB / 457.5 MB, free: 12.1 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000278/0.08749, allocations: 180.2 kB / 457.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.08749, allocations: 3.938 kB / 457.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0003714/0.08786, allocations: 245.7 kB / 457.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/0.08787, allocations: 4 kB / 457.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-06/0.08787, allocations: 128 / 457.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.08788, allocations: 15.92 kB / 457.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.08809, allocations: 55.92 kB / 458 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.0881, allocations: 7.938 kB / 458 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.08822, allocations: 8 kB / 458 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.08823, allocations: 8 kB / 458 MB, free: 11.56 MB / 334.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.0001332/0.08837, allocations: 192.2 kB / 458.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-05/0.08843, allocations: 39.73 kB / 458.2 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.08882, allocations: 216.7 kB / 458.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.08882, allocations: 8 kB / 458.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.08882, allocations: 0 / 458.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.08883, allocations: 0 / 458.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009968/0.08982, allocations: 0.7169 MB / 459.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.08983, allocations: 160 / 459.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.09013, allocations: 75.89 kB / 459.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.09013, allocations: 4 kB / 459.2 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.09015, allocations: 4 kB / 459.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.09015, allocations: 0 / 459.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.09016, allocations: 4 kB / 459.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005599/0.09072, allocations: 435.8 kB / 459.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.09086, allocations: 128.9 kB / 459.8 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.286e-05/0.0909, allocations: 11.98 kB / 459.8 MB, free: 9.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.09107, allocations: 8 kB / 459.8 MB, free: 9.605 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.09111, allocations: 19.86 kB / 459.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.09112, allocations: 19.98 kB / 459.9 MB, free: 9.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002181/0.09134, allocations: 198 kB / 460.1 MB, free: 9.371 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09134, allocations: 0 / 460.1 MB, free: 9.371 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004505/0.09179, allocations: 116 kB / 460.2 MB, free: 9.258 MB / 334.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.0009375/0.09273, allocations: 0.9662 MB / 461.1 MB, free: 8.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004661/0.0932, allocations: 263.7 kB / 461.4 MB, free: 7.992 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.0932, allocations: 0.5 kB / 461.4 MB, free: 7.992 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.09334, allocations: 92.41 kB / 461.5 MB, free: 7.902 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.09378, allocations: 52.97 kB / 461.5 MB, free: 7.848 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004046/0.09782, allocations: 3.074 MB / 464.6 MB, free: 4.637 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004305/0.09825, allocations: 0.7717 MB / 465.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.0984, allocations: 38.25 kB / 465.4 MB, free: 3.793 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.09854, allocations: 95.41 kB / 465.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.09854, allocations: 4 kB / 465.5 MB, free: 3.699 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03026/0.1288, allocations: 6.082 MB / 471.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.513/8.642, allocations: 7.797 kB / 471.6 MB, free: 13.55 MB / 350.1 MB " [Timeout remaining time 651] (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 --stepSize=0.005 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinderUnitLinearize.fmu > MEV_MEV.Test.TestCylinderUnitLinearize.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.080084349960089] Failed to read output from testmodel.py, exit status != 0: 8.711408140137792 8.731315682 8.649026546 Calling exit ...