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.001812/0.001812, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002317/0.002317, allocations: 213.3 kB / 22.24 MB, free: 5.262 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.385/1.385, allocations: 207.7 MB / 233.1 MB, free: 9.77 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.008498/0.008498, allocations: 1.97 MB / 287.3 MB, free: 3.664 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.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.002193/0.002193, allocations: 81.14 kB / 401.8 MB, free: 50.8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07767/0.07986, allocations: 49.69 MB / 451.5 MB, free: 6.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.003142/0.08301, allocations: 2.906 MB / 454.4 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009828/0.08399, allocations: 0.7604 MB / 455.1 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.08413, allocations: 4 kB / 455.1 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.08427, allocations: 51.48 kB / 455.2 MB, free: 2.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.08445, allocations: 130.9 kB / 455.3 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002236/0.08467, allocations: 91.86 kB / 455.4 MB, free: 2.129 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.08494, allocations: 414.1 kB / 455.8 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.08511, allocations: 96.27 kB / 455.9 MB, free: 1.625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.08523, allocations: 163.4 kB / 456.1 MB, free: 1.465 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.08537, allocations: 139.3 kB / 456.2 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.664e-05/0.08541, allocations: 36 kB / 456.2 MB, free: 1.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.163e-05/0.08549, allocations: 36 kB / 456.3 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.268e-05/0.08554, allocations: 75.7 kB / 456.3 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.298e-05/0.08563, allocations: 147.3 kB / 456.5 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003057/0.08593, allocations: 402.4 kB / 456.9 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.08594, allocations: 0 / 456.9 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.08594, allocations: 0 / 456.9 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.08595, allocations: 0 / 456.9 MB, free: 0.6445 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.0007482/0.08669, allocations: 0.5596 MB / 457.4 MB, free: 56 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.08673, allocations: 19.92 kB / 457.5 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001083/0.08684, allocations: 63.38 kB / 457.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.811e-05/0.0869, allocations: 40.7 kB / 457.6 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.08728, allocations: 237 kB / 457.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.344e-05/0.08731, allocations: 21.03 kB / 457.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.188e-05/0.08736, allocations: 31.89 kB / 457.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004301/0.08779, allocations: 285.5 kB / 458.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.08781, allocations: 3.938 kB / 458.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.575e-05/0.08783, allocations: 12 kB / 458.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.08784, allocations: 8 kB / 458.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.08816, allocations: 174.5 kB / 458.3 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001262/0.08942, allocations: 0.6985 MB / 459 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005172/0.08994, allocations: 178.6 kB / 459.2 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.09006, allocations: 68.78 kB / 459.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.09008, allocations: 7.938 kB / 459.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.09011, allocations: 30.56 kB / 459.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.363e-06/0.09011, allocations: 0 / 459.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001529/0.09164, allocations: 0.7908 MB / 460.1 MB, free: 13.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.09168, allocations: 55.41 kB / 460.1 MB, free: 13.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.09199, allocations: 284.2 kB / 460.4 MB, free: 12.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.09202, allocations: 33.7 kB / 460.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.09216, allocations: 184.6 kB / 460.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.938e-05/0.09225, allocations: 95.31 kB / 460.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.09233, allocations: 49.98 kB / 460.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.09249, allocations: 342.8 kB / 461.1 MB, free: 12.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.09262, allocations: 69.95 kB / 461.2 MB, free: 12.1 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.09278, allocations: 117.3 kB / 461.3 MB, free: 11.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.09307, allocations: 192.2 kB / 461.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.09307, allocations: 4 kB / 461.5 MB, free: 11.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003842/0.09346, allocations: 253.4 kB / 461.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.09348, allocations: 11.97 kB / 461.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.09348, allocations: 0 / 461.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.0935, allocations: 4 kB / 461.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002444/0.09374, allocations: 59.91 kB / 461.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.09375, allocations: 7.938 kB / 461.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.09387, allocations: 8 kB / 461.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.09389, allocations: 11.98 kB / 461.8 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002104/0.0941, allocations: 172.9 kB / 462 MB, free: 11.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001594/0.09426, allocations: 112.1 kB / 462.1 MB, free: 11.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002768/0.09454, allocations: 184.4 kB / 462.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.242e-06/0.09454, allocations: 0 / 462.3 MB, free: 10.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0003698/0.09491, allocations: 245.4 kB / 462.5 MB, free: 10.67 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/0.09492, allocations: 8 kB / 462.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-06/0.09492, allocations: 0 / 462.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.372e-06/0.09493, allocations: 7.938 kB / 462.5 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.09514, allocations: 59.91 kB / 462.6 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.09515, allocations: 12.06 kB / 462.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.09526, allocations: 4 kB / 462.6 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.09527, allocations: 8 kB / 462.6 MB, free: 10.57 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.0001421/0.09542, allocations: 200.1 kB / 462.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.168e-05/0.09548, allocations: 39.75 kB / 462.9 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003781/0.09586, allocations: 211.9 kB / 463.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.09586, allocations: 0 / 463.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.09587, allocations: 7.984 kB / 463.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.09587, allocations: 0 / 463.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009645/0.09683, allocations: 0.6498 MB / 463.7 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.09684, allocations: 7.922 kB / 463.7 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.09714, allocations: 63.91 kB / 463.8 MB, free: 9.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.09714, allocations: 4 kB / 463.8 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.09716, allocations: 4 kB / 463.8 MB, free: 9.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.09717, allocations: 4 kB / 463.8 MB, free: 9.309 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.09717, allocations: 4 kB / 463.8 MB, free: 9.305 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005796/0.09775, allocations: 435.5 kB / 464.2 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.09787, allocations: 47.83 kB / 464.3 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.09791, allocations: 12 kB / 464.3 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.09808, allocations: 15.98 kB / 464.3 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.09811, allocations: 15.91 kB / 464.3 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.09813, allocations: 12 kB / 464.3 MB, free: 8.746 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002216/0.09835, allocations: 203.1 kB / 464.5 MB, free: 8.547 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.09835, allocations: 0 / 464.5 MB, free: 8.547 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004406/0.09879, allocations: 115.9 kB / 464.7 MB, free: 8.434 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.0008897/0.09968, allocations: 0.9744 MB / 465.6 MB, free: 7.418 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004621/0.1001, allocations: 263.9 kB / 465.9 MB, free: 7.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1001, allocations: 0 / 465.9 MB, free: 7.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001305/0.1003, allocations: 87.84 kB / 466 MB, free: 7.074 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004335/0.1007, allocations: 41.78 kB / 466 MB, free: 7.031 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.1047, allocations: 3.076 MB / 469.1 MB, free: 3.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.1049, allocations: 173.2 kB / 469.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.105, allocations: 34.2 kB / 469.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.1052, allocations: 99.39 kB / 469.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1052, allocations: 0 / 469.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03502/0.1402, allocations: 6.783 MB / 476.2 MB, free: 12.65 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/10.89, allocations: 19.83 kB / 476.2 MB, free: 12.63 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.34767312509939] Failed to read output from testmodel.py, exit status != 0: 10.990778008010238 11.007281776 10.91829792 Calling exit ...