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.0009761/0.0009761, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0007775/0.0007775, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8525/0.8525, allocations: 158.6 MB / 184.2 MB, free: 3.043 MB / 170.7 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.006479/0.006479, allocations: 1.428 MB / 237.9 MB, free: 13.92 MB / 234.7 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: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 352.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.989e-05/2.177e-05, allocations: 6.219 kB / 352.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.003388/0.00341, allocations: 2.894 MB / 355.4 MB, free: 12.98 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009422/0.004352, allocations: 0.749 MB / 356.1 MB, free: 12.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.004486, allocations: 7.938 kB / 356.1 MB, free: 12.22 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.004612, allocations: 59.42 kB / 356.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.00477, allocations: 138.8 kB / 356.3 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.005001, allocations: 91.78 kB / 356.4 MB, free: 11.94 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002682/0.005269, allocations: 441.8 kB / 356.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003393/0.005609, allocations: 84.34 kB / 356.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.005804, allocations: 231.5 kB / 357.1 MB, free: 11.2 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.005925, allocations: 119.6 kB / 357.3 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.191e-05/0.005957, allocations: 36 kB / 357.3 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.077e-05/0.006027, allocations: 43.94 kB / 357.3 MB, free: 11 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.637e-05/0.006064, allocations: 79.67 kB / 357.4 MB, free: 10.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.006133, allocations: 123.7 kB / 357.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002888/0.006422, allocations: 398.8 kB / 357.9 MB, free: 10.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.006424, allocations: 0 / 357.9 MB, free: 10.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.006425, allocations: 0 / 357.9 MB, free: 10.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.00643, allocations: 0 / 357.9 MB, free: 10.41 MB / 282.7 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.0005583/0.006988, allocations: 0.5557 MB / 358.5 MB, free: 9.828 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.007021, allocations: 11.98 kB / 358.5 MB, free: 9.816 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.736e-05/0.007089, allocations: 63.38 kB / 358.6 MB, free: 9.746 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.007131, allocations: 40.7 kB / 358.6 MB, free: 9.707 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.007359, allocations: 236.6 kB / 358.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.007374, allocations: 21.03 kB / 358.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.007403, allocations: 24.38 kB / 358.9 MB, free: 9.406 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.007662, allocations: 297.8 kB / 359.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.007674, allocations: 4 kB / 359.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.007691, allocations: 12 kB / 359.2 MB, free: 9.078 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.007698, allocations: 8 kB / 359.2 MB, free: 9.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.007883, allocations: 174.5 kB / 359.4 MB, free: 8.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007713/0.008654, allocations: 0.7063 MB / 360.1 MB, free: 8.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.008986, allocations: 178.6 kB / 360.2 MB, free: 7.969 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.943e-05/0.009056, allocations: 64.84 kB / 360.3 MB, free: 7.902 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.009072, allocations: 11.98 kB / 360.3 MB, free: 7.891 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/0.009084, allocations: 34.56 kB / 360.3 MB, free: 7.848 MB / 282.7 MB Notification: Performance of pre-optimization done (n=20): time 1.242e-06/0.009086, allocations: 3.938 kB / 360.3 MB, free: 7.844 MB / 282.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008855/0.009971, allocations: 0.7827 MB / 361.1 MB, free: 7.012 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.009995, allocations: 59.34 kB / 361.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.01016, allocations: 284.1 kB / 361.5 MB, free: 6.652 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.01017, allocations: 33.7 kB / 361.5 MB, free: 6.613 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.663e-05/0.01023, allocations: 192.5 kB / 361.7 MB, free: 6.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.01026, allocations: 95.31 kB / 361.8 MB, free: 6.324 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.01031, allocations: 53.98 kB / 361.8 MB, free: 6.266 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.417e-05/0.01035, allocations: 338.8 kB / 362.2 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.01042, allocations: 69.95 kB / 362.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.262e-05/0.0105, allocations: 113.3 kB / 362.3 MB, free: 5.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.01066, allocations: 184.2 kB / 362.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.01066, allocations: 8 kB / 362.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002151/0.01088, allocations: 257.3 kB / 362.8 MB, free: 5.27 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.01089, allocations: 4 kB / 362.8 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.0109, allocations: 3.984 kB / 362.8 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.01091, allocations: 4 kB / 362.8 MB, free: 5.258 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.01104, allocations: 63.84 kB / 362.9 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.01104, allocations: 4 kB / 362.9 MB, free: 5.191 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.488e-05/0.01111, allocations: 8 kB / 362.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.01112, allocations: 4.125 kB / 362.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001108/0.01123, allocations: 180.7 kB / 363 MB, free: 5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.763e-05/0.01131, allocations: 108.2 kB / 363.2 MB, free: 4.879 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001375/0.01144, allocations: 184.2 kB / 363.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.51e-07/0.01144, allocations: 0 / 363.3 MB, free: 4.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0001857/0.01163, allocations: 249.6 kB / 363.6 MB, free: 4.434 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.01164, allocations: 12.12 kB / 363.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-06/0.01164, allocations: 0 / 363.6 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-06/0.01164, allocations: 4 kB / 363.6 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.904e-05/0.01174, allocations: 59.91 kB / 363.6 MB, free: 4.359 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.01174, allocations: 7.938 kB / 363.7 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.502e-05/0.0118, allocations: 4 kB / 363.7 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.0118, allocations: 12 kB / 363.7 MB, free: 4.336 MB / 282.7 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 5.029e-05/0.01185, allocations: 192.2 kB / 363.9 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.01188, allocations: 31.8 kB / 363.9 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.01208, allocations: 228.9 kB / 364.1 MB, free: 3.883 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.01208, allocations: 4 kB / 364.1 MB, free: 3.879 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01209, allocations: 7.922 kB / 364.1 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.01209, allocations: 4 kB / 364.1 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.01259, allocations: 0.6379 MB / 364.8 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01259, allocations: 7.922 kB / 364.8 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.01274, allocations: 63.97 kB / 364.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.01274, allocations: 7.938 kB / 364.8 MB, free: 3.086 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.01275, allocations: 4.156 kB / 364.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.01275, allocations: 11.94 kB / 364.9 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.01276, allocations: 0 / 364.9 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.01305, allocations: 427.4 kB / 365.3 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.56e-05/0.01311, allocations: 55.75 kB / 365.3 MB, free: 2.566 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.01313, allocations: 8 kB / 365.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.01324, allocations: 11.98 kB / 365.4 MB, free: 2.547 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.25e-05/0.01327, allocations: 23.91 kB / 365.4 MB, free: 2.523 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.01327, allocations: 8 kB / 365.4 MB, free: 2.516 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001009/0.01338, allocations: 207 kB / 365.6 MB, free: 2.312 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01338, allocations: 4 kB / 365.6 MB, free: 2.309 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002925/0.01367, allocations: 115.9 kB / 365.7 MB, free: 2.195 MB / 282.7 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.0004078/0.01408, allocations: 0.9587 MB / 366.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005059/0.01458, allocations: 267.7 kB / 366.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01458, allocations: 0 / 366.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.88e-05/0.01465, allocations: 84.59 kB / 367 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.01494, allocations: 47.69 kB / 367.1 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002553/0.0175, allocations: 2.993 MB / 370 MB, free: 13.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.0176, allocations: 177.1 kB / 370.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001004/0.0177, allocations: 34.25 kB / 370.3 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.01781, allocations: 96.47 kB / 370.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01781, allocations: 0 / 370.3 MB, free: 13.36 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01998/0.03779, allocations: 6.906 MB / 377.3 MB, free: 6.406 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.751/6.789, allocations: 11.92 kB / 377.3 MB, free: 6.395 MB / 298.7 MB " [Timeout remaining time 653] (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: 8.483699245378375] Failed to read output from testmodel.py, exit status != 0: 6.875940533354878 6.893099974 6.884060219 Calling exit ...