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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001377/0.001377, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.408/1.408, allocations: 207.6 MB / 230.5 MB, free: 4.02 MB / 174.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.009167/0.009167, allocations: 1.954 MB / 284.3 MB, free: 14.36 MB / 238.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestCylinderUnitLinearize,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitLinearize",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinderUnitLinearize,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitLinearize",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 72.45 kB / 397.3 MB, free: 8.859 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2565, allocations: 49.67 MB / 447 MB, free: 8.438 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.003912/0.2604, allocations: 3.124 MB / 450.1 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.2617, allocations: 0.8084 MB / 450.9 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.2618, allocations: 3.625 kB / 450.9 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001666/0.262, allocations: 58.45 kB / 450.9 MB, free: 5.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.2622, allocations: 122.5 kB / 451.1 MB, free: 5.523 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002574/0.2624, allocations: 90.48 kB / 451.2 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.2628, allocations: 420.5 kB / 451.6 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.263, allocations: 98.2 kB / 451.7 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.2633, allocations: 159.8 kB / 451.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.2635, allocations: 161.9 kB / 452 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.692e-05/0.2635, allocations: 32.62 kB / 452 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.2637, allocations: 45.28 kB / 452.1 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.511e-05/0.2637, allocations: 77.17 kB / 452.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.264, allocations: 178.1 kB / 452.3 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005871/0.2646, allocations: 400.9 kB / 452.7 MB, free: 4.688 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.2646, allocations: 0 / 452.7 MB, free: 4.688 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2646, allocations: 3.938 kB / 452.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.633e-05/0.2646, allocations: 0 / 452.7 MB, free: 4.684 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.00106/0.2656, allocations: 0.6298 MB / 453.3 MB, free: 4.152 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/0.2657, allocations: 14.84 kB / 453.3 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.901e-05/0.2658, allocations: 7.406 kB / 453.4 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/0.2659, allocations: 71.92 kB / 453.4 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.2659, allocations: 38.3 kB / 453.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004397/0.2664, allocations: 295.4 kB / 453.7 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.2664, allocations: 23.69 kB / 453.8 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.391e-05/0.2665, allocations: 25.88 kB / 453.8 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004923/0.267, allocations: 237.5 kB / 454 MB, free: 3.656 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.267, allocations: 4 kB / 454 MB, free: 3.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.267, allocations: 11.45 kB / 454 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.267, allocations: 6.875 kB / 454 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.2674, allocations: 182.4 kB / 454.2 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001576/0.269, allocations: 0.8098 MB / 455 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006758/0.2697, allocations: 180.4 kB / 455.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.2698, allocations: 76.03 kB / 455.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.2698, allocations: 2.859 kB / 455.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.2699, allocations: 41.44 kB / 455.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.2699, allocations: 0 / 455.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.001605/0.2715, allocations: 0.9659 MB / 456.3 MB, free: 2.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.208e-05/0.2715, allocations: 59.92 kB / 456.4 MB, free: 2.113 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.2718, allocations: 279.3 kB / 456.6 MB, free: 1.953 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.2718, allocations: 31.11 kB / 456.7 MB, free: 1.918 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.622e-05/0.2719, allocations: 189.1 kB / 456.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.272, allocations: 98.45 kB / 456.9 MB, free: 1.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.138e-05/0.272, allocations: 59.14 kB / 457 MB, free: 1.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.491e-05/0.2721, allocations: 341.5 kB / 457.3 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.2722, allocations: 79.41 kB / 457.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.2724, allocations: 114.4 kB / 457.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002601/0.2726, allocations: 192.6 kB / 457.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2726, allocations: 0 / 457.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003969/0.273, allocations: 256.8 kB / 458 MB, free: 0.957 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.273, allocations: 5.5 kB / 458 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.273, allocations: 1.125 kB / 458 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.2731, allocations: 2.953 kB / 458 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.2733, allocations: 63.73 kB / 458 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2733, allocations: 3.266 kB / 458 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.2735, allocations: 14.58 kB / 458 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.2735, allocations: 8.906 kB / 458.1 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000204/0.2737, allocations: 180.5 kB / 458.2 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001797/0.2739, allocations: 113.3 kB / 458.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000287/0.2742, allocations: 193.3 kB / 458.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.062e-06/0.2742, allocations: 0 / 458.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0004266/0.2746, allocations: 248.8 kB / 458.8 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.2746, allocations: 9.594 kB / 458.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2746, allocations: 1.891 kB / 458.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.518e-06/0.2746, allocations: 2.281 kB / 458.8 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.2749, allocations: 62.89 kB / 458.8 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.2749, allocations: 11.55 kB / 458.9 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.275, allocations: 6.719 kB / 458.9 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.275, allocations: 11.44 kB / 458.9 MB, free: 480 kB / 318.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 (36): * Single equations (assignments): 36 * 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 9.568e-05/0.2751, allocations: 197.1 kB / 459.1 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.2751, allocations: 30.06 kB / 459.1 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.2755, allocations: 227.9 kB / 459.3 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2755, allocations: 2.406 kB / 459.3 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2755, allocations: 5.953 kB / 459.3 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.2756, allocations: 5.312 kB / 459.3 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.2767, allocations: 0.7503 MB / 460.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2767, allocations: 1.281 kB / 460.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003002/0.277, allocations: 67.97 kB / 460.2 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.277, allocations: 11.06 kB / 460.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.997e-05/0.277, allocations: 7.938 kB / 460.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.277, allocations: 2.922 kB / 460.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.277, allocations: 2.938 kB / 460.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005975/0.2776, allocations: 457.7 kB / 460.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/0.2777, allocations: 131.9 kB / 460.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.098e-05/0.2778, allocations: 8.578 kB / 460.8 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.278, allocations: 11.28 kB / 460.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.278, allocations: 22.66 kB / 460.8 MB, free: 15.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.278, allocations: 11.53 kB / 460.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002104/0.2782, allocations: 200.5 kB / 461 MB, free: 15 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2782, allocations: 0 / 461 MB, free: 15 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004582/0.2787, allocations: 123.2 kB / 461.1 MB, free: 14.98 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 28 * 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.0009196/0.2796, allocations: 0.9884 MB / 462.1 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005044/0.2801, allocations: 282.2 kB / 462.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2801, allocations: 0 / 462.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.2803, allocations: 94.55 kB / 462.5 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004601/0.2807, allocations: 47.36 kB / 462.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/0.2848, allocations: 3.115 MB / 465.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004228/0.2852, allocations: 0.7827 MB / 466.4 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001501/0.2854, allocations: 40.81 kB / 466.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001534/0.2855, allocations: 100.7 kB / 466.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2855, allocations: 0 / 466.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02323/0.3088, allocations: 6.125 MB / 472.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.27/8.579, allocations: 12 kB / 472.7 MB, free: 6.551 MB / 334.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 os._exit(0), Time elapsed: 10.893153501034249] Failed to read output from testmodel.py, exit status != 0: 8.730299712973647 8.751357902 8.484064708 Calling exit ...