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.001844/0.001844, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002382/0.002382, allocations: 216.8 kB / 23.04 MB, free: 5.074 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.425/1.425, allocations: 207.6 MB / 233.8 MB, free: 9.984 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.008655/0.008655, allocations: 1.958 MB / 288 MB, free: 3.852 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="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.002104/0.002104, allocations: 71.7 kB / 402.6 MB, free: 50.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08504/0.08714, allocations: 49.7 MB / 452.3 MB, free: 6.262 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.003268/0.09041, allocations: 3.153 MB / 455.4 MB, free: 3.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.09141, allocations: 0.8071 MB / 456.2 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.09155, allocations: 7.938 kB / 456.2 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.0917, allocations: 51.48 kB / 456.3 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.09188, allocations: 123 kB / 456.4 MB, free: 2.098 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.09213, allocations: 95.83 kB / 456.5 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002979/0.09243, allocations: 426 kB / 456.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.09262, allocations: 100.3 kB / 457 MB, free: 1.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001202/0.09274, allocations: 151.4 kB / 457.2 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001681/0.09291, allocations: 155.3 kB / 457.3 MB, free: 1.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.663e-05/0.09294, allocations: 36 kB / 457.3 MB, free: 1.148 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.366e-05/0.09304, allocations: 43.98 kB / 457.4 MB, free: 1.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.09308, allocations: 79.62 kB / 457.5 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.09319, allocations: 183.1 kB / 457.6 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003249/0.09351, allocations: 394.4 kB / 458 MB, free: 472 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.09352, allocations: 0 / 458 MB, free: 472 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.09352, allocations: 0 / 458 MB, free: 472 kB / 318.1 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.09353, allocations: 4 kB / 458 MB, free: 468 kB / 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.0008475/0.09437, allocations: 0.5596 MB / 458.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.09442, allocations: 15.98 kB / 458.6 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.524e-05/0.09446, allocations: 4.844 kB / 458.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.761e-05/0.09456, allocations: 67.39 kB / 458.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.142e-05/0.09463, allocations: 36.7 kB / 458.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003948/0.09502, allocations: 240.9 kB / 458.9 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.09504, allocations: 24.78 kB / 459 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.0951, allocations: 24 kB / 459 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.09552, allocations: 238.1 kB / 459.2 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.09553, allocations: 3.938 kB / 459.2 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.09556, allocations: 12 kB / 459.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.09557, allocations: 4 kB / 459.2 MB, free: 15.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003194/0.09589, allocations: 182.5 kB / 459.4 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001324/0.09721, allocations: 0.7764 MB / 460.2 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005326/0.09774, allocations: 186.7 kB / 460.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.09788, allocations: 76.83 kB / 460.5 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.09791, allocations: 7.984 kB / 460.5 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.09794, allocations: 34.94 kB / 460.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.202e-06/0.09794, allocations: 0 / 460.5 MB, free: 13.85 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001577/0.09951, allocations: 0.8139 MB / 461.3 MB, free: 12.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.09955, allocations: 55.41 kB / 461.4 MB, free: 12.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.09987, allocations: 284.2 kB / 461.6 MB, free: 12.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.0999, allocations: 29.7 kB / 461.7 MB, free: 12.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.1, allocations: 188.5 kB / 461.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.659e-05/0.1001, allocations: 103.1 kB / 462 MB, free: 12.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.974e-05/0.1002, allocations: 57.66 kB / 462 MB, free: 12.25 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1004, allocations: 346.7 kB / 462.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1005, allocations: 68.84 kB / 462.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001652/0.1007, allocations: 116.1 kB / 462.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.101, allocations: 200.2 kB / 462.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.101, allocations: 0 / 462.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004058/0.1014, allocations: 261.4 kB / 463 MB, free: 11.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1014, allocations: 4 kB / 463 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1014, allocations: 0 / 463 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.1014, allocations: 8 kB / 463 MB, free: 11.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/0.1017, allocations: 59.92 kB / 463.1 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.1017, allocations: 12.11 kB / 463.1 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.1018, allocations: 4 kB / 463.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.764e-05/0.1018, allocations: 8 kB / 463.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00022/0.1021, allocations: 184 kB / 463.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001542/0.1022, allocations: 104.1 kB / 463.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002821/0.1025, allocations: 196.5 kB / 463.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.001e-06/0.1025, allocations: 0 / 463.6 MB, free: 10.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization_lambda0): time 0.0003765/0.1029, allocations: 257.3 kB / 463.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.394e-06/0.1029, allocations: 4 kB / 463.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-06/0.1029, allocations: 0 / 463.8 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.288e-06/0.1029, allocations: 4.125 kB / 463.8 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.1031, allocations: 63.91 kB / 463.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1031, allocations: 4 kB / 463.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.1032, allocations: 4 kB / 463.9 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.1032, allocations: 12 kB / 463.9 MB, free: 10.28 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 (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 0.0001388/0.1034, allocations: 204 kB / 464.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.446e-05/0.1034, allocations: 31.81 kB / 464.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000404/0.1038, allocations: 232.6 kB / 464.4 MB, free: 9.801 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1038, allocations: 4 kB / 464.4 MB, free: 9.797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.1038, allocations: 4 kB / 464.4 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.1039, allocations: 3.984 kB / 464.4 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.1049, allocations: 0.7133 MB / 465.1 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1049, allocations: 192 / 465.1 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002967/0.1052, allocations: 71.91 kB / 465.1 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.1053, allocations: 11.88 kB / 465.2 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.1053, allocations: 8 kB / 465.2 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/0.1053, allocations: 3.984 kB / 465.2 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.1053, allocations: 7.938 kB / 465.2 MB, free: 8.906 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005824/0.1059, allocations: 440.4 kB / 465.6 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.106, allocations: 51.77 kB / 465.7 MB, free: 8.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.106, allocations: 8 kB / 465.7 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.1062, allocations: 11.98 kB / 465.7 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.1062, allocations: 27.91 kB / 465.7 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.1063, allocations: 8 kB / 465.7 MB, free: 8.336 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002107/0.1065, allocations: 199.1 kB / 465.9 MB, free: 8.145 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1065, allocations: 4 kB / 465.9 MB, free: 8.141 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004406/0.1069, allocations: 116 kB / 466 MB, free: 8.027 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.0009271/0.1078, allocations: 0.9952 MB / 467 MB, free: 6.988 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005083/0.1083, allocations: 288.4 kB / 467.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1083, allocations: 0 / 467.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.1085, allocations: 87.8 kB / 467.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004534/0.1089, allocations: 52.89 kB / 467.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004165/0.1131, allocations: 3.116 MB / 470.6 MB, free: 3.305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004395/0.1135, allocations: 0.7836 MB / 471.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.1137, allocations: 34.95 kB / 471.4 MB, free: 2.461 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.1138, allocations: 107.4 kB / 471.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1138, allocations: 0 / 471.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.1428, allocations: 6.426 MB / 477.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.22, allocations: 4.062 kB / 477.9 MB, free: 11.88 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.852254341938533] Failed to read output from testmodel.py, exit status != 0: 11.375908512971364 11.391788547 11.295225078 Calling exit ...