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.001365/0.001365, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001581/0.001581, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.441/1.441, allocations: 207.6 MB / 233 MB, free: 9.996 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.01511/0.01511, allocations: 1.97 MB / 287.3 MB, free: 3.859 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.002121/0.002121, allocations: 71.92 kB / 401.8 MB, free: 50.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07899/0.08111, allocations: 49.71 MB / 451.5 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitLinearize): time 0.00321/0.08432, allocations: 3.151 MB / 454.6 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001146/0.08546, allocations: 0.7993 MB / 455.4 MB, free: 2.293 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.08561, allocations: 4 kB / 455.4 MB, free: 2.289 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001555/0.08576, allocations: 59.42 kB / 455.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001855/0.08595, allocations: 127 kB / 455.6 MB, free: 2.105 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002337/0.08618, allocations: 91.84 kB / 455.7 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.08646, allocations: 422 kB / 456.1 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001718/0.08663, allocations: 96.33 kB / 456.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.08675, allocations: 159.4 kB / 456.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.08692, allocations: 163.3 kB / 456.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.456e-05/0.08695, allocations: 32 kB / 456.6 MB, free: 1.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.923e-05/0.08703, allocations: 40 kB / 456.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.054e-05/0.08707, allocations: 79.69 kB / 456.7 MB, free: 1.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000107/0.08718, allocations: 183.1 kB / 456.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.0875, allocations: 394.4 kB / 457.2 MB, free: 484 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.08751, allocations: 0 / 457.2 MB, free: 484 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.08751, allocations: 0 / 457.2 MB, free: 484 kB / 318.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.08752, allocations: 0 / 457.2 MB, free: 484 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.0008171/0.08833, allocations: 0.5557 MB / 457.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.08837, allocations: 15.98 kB / 457.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001168/0.08849, allocations: 67.31 kB / 457.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.666e-05/0.08856, allocations: 40.7 kB / 457.9 MB, free: 15.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.08896, allocations: 233 kB / 458.1 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.08898, allocations: 21.03 kB / 458.2 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.797e-05/0.08904, allocations: 35.89 kB / 458.2 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004369/0.08947, allocations: 238 kB / 458.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.08949, allocations: 0 / 458.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.948e-05/0.08952, allocations: 12 kB / 458.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.08953, allocations: 4 kB / 458.4 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003201/0.08985, allocations: 178.5 kB / 458.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.09122, allocations: 0.7764 MB / 459.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005011/0.09172, allocations: 182.5 kB / 459.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001329/0.09185, allocations: 64.84 kB / 459.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.09187, allocations: 0 / 459.6 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.0919, allocations: 38.56 kB / 459.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 9.52e-07/0.0919, allocations: 0 / 459.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=25): time 0.001555/0.09346, allocations: 0.7871 MB / 460.5 MB, free: 13.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.0935, allocations: 59.41 kB / 460.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.09381, allocations: 284.2 kB / 460.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.09384, allocations: 29.7 kB / 460.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.09398, allocations: 188.5 kB / 461 MB, free: 12.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.965e-05/0.09405, allocations: 87.22 kB / 461.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.131e-05/0.09414, allocations: 53.94 kB / 461.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.0943, allocations: 338.8 kB / 461.5 MB, free: 12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.09443, allocations: 69.95 kB / 461.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.09459, allocations: 121.3 kB / 461.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.09488, allocations: 196.2 kB / 461.9 MB, free: 11.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.09488, allocations: 4 kB / 461.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003899/0.09527, allocations: 249.4 kB / 462.1 MB, free: 11.33 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.09529, allocations: 7.938 kB / 462.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.09529, allocations: 4 kB / 462.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.09531, allocations: 0 / 462.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/0.09556, allocations: 59.92 kB / 462.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.09557, allocations: 7.969 kB / 462.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.09569, allocations: 8 kB / 462.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.09571, allocations: 12.11 kB / 462.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002093/0.09592, allocations: 176.7 kB / 462.4 MB, free: 11.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001464/0.09606, allocations: 112.1 kB / 462.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002635/0.09632, allocations: 184.4 kB / 462.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.082e-06/0.09633, allocations: 0 / 462.7 MB, free: 10.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=34) (initialization_lambda0): time 0.0003596/0.09669, allocations: 245.4 kB / 462.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.0967, allocations: 8 kB / 462.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-06/0.0967, allocations: 0 / 462.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.674e-06/0.0967, allocations: 7.938 kB / 462.9 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.09693, allocations: 59.91 kB / 463 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.09693, allocations: 4 kB / 463 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.09704, allocations: 4.125 kB / 463 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.09706, allocations: 12 kB / 463 MB, free: 10.4 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.0001396/0.0972, allocations: 196.4 kB / 463.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.09725, allocations: 31.75 kB / 463.2 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003926/0.09764, allocations: 223.8 kB / 463.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.09765, allocations: 4 kB / 463.4 MB, free: 9.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.09765, allocations: 3.984 kB / 463.5 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.09766, allocations: 0 / 463.5 MB, free: 9.934 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009986/0.09866, allocations: 0.6887 MB / 464.1 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.09866, allocations: 8 kB / 464.1 MB, free: 9.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.09896, allocations: 63.89 kB / 464.2 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.09897, allocations: 0 / 464.2 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.09898, allocations: 8 kB / 464.2 MB, free: 9.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.09899, allocations: 8.156 kB / 464.2 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.09899, allocations: 0 / 464.2 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005647/0.09955, allocations: 431.3 kB / 464.6 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.09966, allocations: 55.83 kB / 464.7 MB, free: 8.586 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.171e-05/0.09971, allocations: 8 kB / 464.7 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001703/0.09988, allocations: 15.98 kB / 464.7 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.09991, allocations: 15.91 kB / 464.7 MB, free: 8.547 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.09993, allocations: 12 kB / 464.8 MB, free: 8.535 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002135/0.1001, allocations: 199.1 kB / 464.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1001, allocations: 0 / 464.9 MB, free: 8.34 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004461/0.1006, allocations: 116 kB / 465.1 MB, free: 8.227 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.0009183/0.1015, allocations: 0.9701 MB / 466 MB, free: 7.215 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004813/0.102, allocations: 268.4 kB / 466.3 MB, free: 6.953 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.102, allocations: 0 / 466.3 MB, free: 6.953 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.1021, allocations: 87.84 kB / 466.4 MB, free: 6.867 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.1026, allocations: 45.78 kB / 466.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004076/0.1067, allocations: 3.083 MB / 469.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.1071, allocations: 0.7717 MB / 470.3 MB, free: 2.797 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001321/0.1072, allocations: 34.28 kB / 470.3 MB, free: 2.762 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.1074, allocations: 99.39 kB / 470.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1074, allocations: 0 / 470.4 MB, free: 2.668 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03742/0.1448, allocations: 6.366 MB / 476.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.53, allocations: 11.91 kB / 476.8 MB, free: 12.24 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.124391893856227] Failed to read output from testmodel.py, exit status != 0: 11.630524823907763 11.647082207 11.556491872 Calling exit ...