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.00131/0.00131, allocations: 105.7 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.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.001384/0.001384, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.379/1.379, allocations: 207.6 MB / 229.8 MB, free: 4.254 MB / 174.1 MB " [Timeout remaining time 179] 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.008473/0.008473, allocations: 1.954 MB / 283.6 MB, free: 14.48 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="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.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.002083/0.002083, allocations: 75.91 kB / 396.6 MB, free: 8.867 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2509, allocations: 49.65 MB / 446.2 MB, free: 8.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.003593/0.2545, allocations: 3.131 MB / 449.4 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.2556, allocations: 0.8062 MB / 450.2 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001502/0.2558, allocations: 11.75 kB / 450.2 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.2559, allocations: 52.39 kB / 450.2 MB, free: 5.621 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.2561, allocations: 120 kB / 450.4 MB, free: 5.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.2564, allocations: 91.47 kB / 450.5 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.2567, allocations: 422.8 kB / 450.9 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.2569, allocations: 93.64 kB / 451 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.2571, allocations: 166.3 kB / 451.1 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000175/0.2573, allocations: 158.2 kB / 451.3 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.435e-05/0.2574, allocations: 33.72 kB / 451.3 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.2575, allocations: 43.47 kB / 451.4 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.2576, allocations: 77.27 kB / 451.4 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.2577, allocations: 176.5 kB / 451.6 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.2582, allocations: 404.5 kB / 452 MB, free: 4.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2582, allocations: 3.938 kB / 452 MB, free: 4.695 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2582, allocations: 0 / 452 MB, free: 4.695 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.2582, allocations: 0 / 452 MB, free: 4.695 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.0009109/0.2591, allocations: 0.6308 MB / 452.6 MB, free: 4.164 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.2592, allocations: 13.48 kB / 452.6 MB, free: 4.16 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.014e-05/0.2593, allocations: 66.3 kB / 452.7 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.867e-05/0.2593, allocations: 38.58 kB / 452.7 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.2597, allocations: 294.9 kB / 453 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.2597, allocations: 23.94 kB / 453.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/0.2598, allocations: 29.81 kB / 453.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.2601, allocations: 235.3 kB / 453.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2601, allocations: 0.75 kB / 453.3 MB, free: 3.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.2602, allocations: 10.75 kB / 453.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.667e-06/0.2602, allocations: 6.875 kB / 453.3 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.2605, allocations: 167.4 kB / 453.5 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001168/0.2616, allocations: 0.8104 MB / 454.3 MB, free: 3.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000498/0.2621, allocations: 180.1 kB / 454.5 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.2622, allocations: 66.91 kB / 454.5 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.2623, allocations: 7.25 kB / 454.6 MB, free: 2.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.2623, allocations: 35.91 kB / 454.6 MB, free: 2.914 MB / 318.1 MB Notification: Performance of pre-optimization done (n=20): time 1.403e-06/0.2623, allocations: 0 / 454.6 MB, free: 2.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=25): time 0.001402/0.2637, allocations: 0.9357 MB / 455.5 MB, free: 2.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.2637, allocations: 53.66 kB / 455.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.264, allocations: 288.1 kB / 455.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.264, allocations: 30.55 kB / 455.9 MB, free: 1.949 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.2641, allocations: 190 kB / 456.1 MB, free: 1.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.748e-05/0.2641, allocations: 97.05 kB / 456.2 MB, free: 1.707 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.607e-05/0.2642, allocations: 57.69 kB / 456.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.819e-05/0.2642, allocations: 338.4 kB / 456.6 MB, free: 1.344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.2644, allocations: 69.36 kB / 456.6 MB, free: 1.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.2645, allocations: 109.2 kB / 456.7 MB, free: 1.242 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.2647, allocations: 180.8 kB / 456.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2647, allocations: 1.375 kB / 456.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003426/0.2651, allocations: 271.6 kB / 457.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.2651, allocations: 12.97 kB / 457.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.2651, allocations: 1.406 kB / 457.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.2651, allocations: 2.469 kB / 457.2 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.2653, allocations: 59.59 kB / 457.2 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.2654, allocations: 4.312 kB / 457.3 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001219/0.2655, allocations: 7.125 kB / 457.3 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.2655, allocations: 11.25 kB / 457.3 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001666/0.2657, allocations: 175.7 kB / 457.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001189/0.2658, allocations: 110.7 kB / 457.5 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000213/0.266, allocations: 181.9 kB / 457.7 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.052e-06/0.266, allocations: 4 kB / 457.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0003235/0.2663, allocations: 248.2 kB / 458 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.116e-06/0.2663, allocations: 5.562 kB / 458 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-06/0.2663, allocations: 1.062 kB / 458 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-06/0.2663, allocations: 6.688 kB / 458 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.2665, allocations: 55.89 kB / 458 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.2665, allocations: 2.688 kB / 458 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.2667, allocations: 7.172 kB / 458.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.2667, allocations: 15.56 kB / 458.1 MB, free: 0.5117 MB / 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 (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 6.614e-05/0.2667, allocations: 193.1 kB / 458.3 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.027e-05/0.2668, allocations: 33.03 kB / 458.3 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003433/0.2671, allocations: 222.7 kB / 458.5 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.2671, allocations: 3.438 kB / 458.5 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2671, allocations: 0 / 458.5 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2671, allocations: 2.812 kB / 458.5 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.2682, allocations: 0.7122 MB / 459.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2682, allocations: 2.312 kB / 459.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002888/0.2684, allocations: 59.7 kB / 459.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.2685, allocations: 3.531 kB / 459.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.2685, allocations: 7 kB / 459.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/0.2685, allocations: 8.328 kB / 459.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2685, allocations: 9.375 kB / 459.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000567/0.269, allocations: 428 kB / 459.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.2692, allocations: 131 kB / 459.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.2692, allocations: 7.703 kB / 459.9 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001682/0.2694, allocations: 15 kB / 459.9 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.2694, allocations: 25.88 kB / 459.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.2695, allocations: 7.844 kB / 459.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002185/0.2697, allocations: 201 kB / 460.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2697, allocations: 0 / 460.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004386/0.2701, allocations: 112.4 kB / 460.2 MB, free: 15.08 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.0009808/0.2711, allocations: 0.9704 MB / 461.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005299/0.2716, allocations: 276.8 kB / 461.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2716, allocations: 0 / 461.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.2718, allocations: 84.05 kB / 461.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.2722, allocations: 57.36 kB / 461.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004173/0.2764, allocations: 3.057 MB / 464.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/0.2768, allocations: 0.7807 MB / 465.4 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001472/0.277, allocations: 35.7 kB / 465.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.2771, allocations: 96.31 kB / 465.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of SimCode: time 6.32e-07/0.2771, allocations: 0 / 465.6 MB, free: 11.01 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03128/0.3084, allocations: 6.074 MB / 471.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/8.535, allocations: 7.984 kB / 471.6 MB, free: 6.926 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 & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestCylinderUnitLinearize_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005 MEV_MEV_Test_TestCylinderUnitLinearize.fmu > MEV_MEV.Test.TestCylinderUnitLinearize.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.819552223008941] Failed to read output from testmodel.py, exit status != 0: 8.603542964003282 8.618259968 8.357131953 Calling exit ...