Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestCylinder.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.001398/0.001398, allocations: 108.2 kB / 16.4 MB, free: 6.496 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.001411/0.001411, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.524/1.524, allocations: 205.1 MB / 227.2 MB, free: 12.15 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.009383/0.009384, allocations: 1.928 MB / 278.5 MB, free: 7.973 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.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",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.002182/0.002183, allocations: 69.3 kB / 386.4 MB, free: 51.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07588/0.07808, allocations: 47.14 MB / 433.6 MB, free: 16.67 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002932/0.08105, allocations: 2.384 MB / 436 MB, free: 14.27 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008918/0.08197, allocations: 0.5699 MB / 436.5 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.08209, allocations: 0 / 436.5 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.08225, allocations: 39.64 kB / 436.6 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001323/0.08239, allocations: 67.41 kB / 436.6 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001584/0.08255, allocations: 47.88 kB / 436.7 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002247/0.08279, allocations: 242.8 kB / 436.9 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.08294, allocations: 52.27 kB / 437 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.278e-05/0.08303, allocations: 83.66 kB / 437.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001448/0.08318, allocations: 95.55 kB / 437.2 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.152e-05/0.08321, allocations: 12 kB / 437.2 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.163e-05/0.08325, allocations: 16 kB / 437.2 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.349e-05/0.08329, allocations: 35.86 kB / 437.2 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.266e-05/0.08337, allocations: 103.5 kB / 437.3 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.08357, allocations: 191.2 kB / 437.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.08358, allocations: 0 / 437.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.08359, allocations: 0 / 437.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.08361, allocations: 0 / 437.5 MB, free: 12.72 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006183/0.08423, allocations: 0.5026 MB / 438 MB, free: 12.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.08428, allocations: 19.83 kB / 438 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.076e-05/0.08432, allocations: 54.73 kB / 438.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.412e-05/0.08437, allocations: 24.8 kB / 438.1 MB, free: 12.06 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.08461, allocations: 220 kB / 438.3 MB, free: 11.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.08463, allocations: 16.7 kB / 438.3 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.298e-05/0.08467, allocations: 19.94 kB / 438.4 MB, free: 11.77 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002776/0.08495, allocations: 152.2 kB / 438.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.08497, allocations: 0 / 438.5 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.085, allocations: 4 kB / 438.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.08501, allocations: 4 kB / 438.5 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.08524, allocations: 120.5 kB / 438.6 MB, free: 11.49 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008043/0.08605, allocations: 0.5507 MB / 439.2 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.08625, allocations: 94.55 kB / 439.3 MB, free: 10.79 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001053/0.08637, allocations: 60.75 kB / 439.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.08639, allocations: 4 kB / 439.3 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.08642, allocations: 34.56 kB / 439.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.08642, allocations: 0 / 439.4 MB, free: 10.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001575/0.088, allocations: 0.6236 MB / 440 MB, free: 10 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.08804, allocations: 55.34 kB / 440 MB, free: 9.938 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.08818, allocations: 199 kB / 440.2 MB, free: 9.734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.0882, allocations: 29.7 kB / 440.3 MB, free: 9.699 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.08827, allocations: 132.4 kB / 440.4 MB, free: 9.566 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.0883, allocations: 59.48 kB / 440.5 MB, free: 9.508 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.08836, allocations: 45.66 kB / 440.5 MB, free: 9.457 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.179e-05/0.08842, allocations: 322.8 kB / 440.8 MB, free: 9.133 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.08854, allocations: 47.97 kB / 440.9 MB, free: 9.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.08865, allocations: 73.58 kB / 440.9 MB, free: 9.008 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.08886, allocations: 133.5 kB / 441.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.08887, allocations: 0 / 441.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002531/0.08913, allocations: 173.5 kB / 441.2 MB, free: 8.695 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/0.08915, allocations: 4 kB / 441.2 MB, free: 8.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.08916, allocations: 4 kB / 441.2 MB, free: 8.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.08918, allocations: 3.938 kB / 441.2 MB, free: 8.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001755/0.08936, allocations: 39.97 kB / 441.3 MB, free: 8.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.08938, allocations: 0 / 441.3 MB, free: 8.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.253e-05/0.08948, allocations: 16.02 kB / 441.3 MB, free: 8.629 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.08949, allocations: 4 kB / 441.3 MB, free: 8.625 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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 7.409e-05/0.08957, allocations: 129.8 kB / 441.4 MB, free: 8.488 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.533e-05/0.08961, allocations: 23.86 kB / 441.5 MB, free: 8.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.08967, allocations: 25.81 kB / 441.5 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.08967, allocations: 0 / 441.5 MB, free: 8.438 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.08968, allocations: 3.984 kB / 441.5 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.08969, allocations: 0 / 441.5 MB, free: 8.434 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005893/0.09029, allocations: 0.5907 MB / 442.1 MB, free: 7.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.0903, allocations: 4.25 kB / 442.1 MB, free: 7.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.09047, allocations: 47.92 kB / 442.1 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.09048, allocations: 0 / 442.1 MB, free: 7.711 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.0905, allocations: 4 kB / 442.1 MB, free: 7.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.09051, allocations: 4 kB / 442.1 MB, free: 7.703 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.09051, allocations: 7.984 kB / 442.1 MB, free: 7.695 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.09091, allocations: 362.1 kB / 442.5 MB, free: 7.301 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.654e-05/0.09099, allocations: 117 kB / 442.6 MB, free: 7.168 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.09102, allocations: 16 kB / 442.6 MB, free: 7.152 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.09118, allocations: 11.98 kB / 442.6 MB, free: 7.141 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.09124, allocations: 23.86 kB / 442.7 MB, free: 7.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.09125, allocations: 4 kB / 442.7 MB, free: 7.113 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.491e-05/0.09134, allocations: 148.4 kB / 442.8 MB, free: 6.969 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09135, allocations: 0 / 442.8 MB, free: 6.969 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.09162, allocations: 40 kB / 442.8 MB, free: 6.93 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (cylinder.y) * 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 (17): * Single equations (assignments): 17 * 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.0005633/0.09218, allocations: 0.9025 MB / 443.7 MB, free: 5.973 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.09247, allocations: 135.7 kB / 443.9 MB, free: 5.84 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.09249, allocations: 4.125 kB / 443.9 MB, free: 5.836 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.09261, allocations: 67.84 kB / 443.9 MB, free: 5.77 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.09297, allocations: 36.09 kB / 444 MB, free: 5.734 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.09484, allocations: 2.221 MB / 446.2 MB, free: 3.379 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.09499, allocations: 0.7319 MB / 446.9 MB, free: 2.621 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.179e-05/0.09507, allocations: 17.41 kB / 447 MB, free: 2.605 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.585e-05/0.09515, allocations: 63.41 kB / 447 MB, free: 2.543 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09516, allocations: 0 / 447 MB, free: 2.543 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02483/0.12, allocations: 3.503 MB / 450.5 MB, free: 14.99 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.241/8.361, allocations: 15.83 kB / 450.5 MB, free: 14.97 MB / 334.1 MB " [Timeout remaining time 652] (rm -f MEV_MEV.Test.TestCylinder.pipe ; mkfifo MEV_MEV.Test.TestCylinder.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinder.pipe >> ../files/MEV_MEV.Test.TestCylinder.sim & python3 -m fmpy simulate --output-file MEV_MEV.Test.TestCylinder_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.060241 MEV_MEV_Test_TestCylinder.fmu > MEV_MEV.Test.TestCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.026236906065606] Failed to read output from testmodel.py, exit status != 0: 8.429405790986493 8.451651742 8.364199977 Calling exit ...