Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestCylinderUnitOnOff.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.001802/0.001802, 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.002194/0.002194, allocations: 208.9 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.378/1.378, allocations: 207.7 MB / 233.1 MB, free: 9.773 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.01501/0.01501, allocations: 1.966 MB / 287.3 MB, free: 3.762 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.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinderUnitOnOff,fileNamePrefix="MEV_MEV_Test_TestCylinderUnitOnOff",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.002148/0.002148, allocations: 69.25 kB / 401.8 MB, free: 50.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07487/0.07701, allocations: 49.71 MB / 451.5 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinderUnitOnOff): time 0.003468/0.08048, allocations: 3.143 MB / 454.6 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.08164, allocations: 0.846 MB / 455.5 MB, free: 2.086 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.08181, allocations: 4 kB / 455.5 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.08197, allocations: 63.36 kB / 455.5 MB, free: 2.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.08219, allocations: 150.7 kB / 455.7 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.08247, allocations: 123.8 kB / 455.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.08284, allocations: 0.5173 MB / 456.3 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.08303, allocations: 105.3 kB / 456.4 MB, free: 1.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001645/0.0832, allocations: 203.2 kB / 456.6 MB, free: 0.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001835/0.08338, allocations: 183 kB / 456.8 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.613e-05/0.08343, allocations: 40 kB / 456.8 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-05/0.08352, allocations: 55.98 kB / 456.9 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.254e-05/0.08357, allocations: 83.64 kB / 457 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.08369, allocations: 183.2 kB / 457.1 MB, free: 392 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.08411, allocations: 478.2 kB / 457.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.08411, allocations: 0 / 457.6 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.476e-06/0.08411, allocations: 7.984 kB / 457.6 MB, free: 15.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.08413, allocations: 0 / 457.6 MB, free: 15.9 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001349/0.08548, allocations: 0.676 MB / 458.3 MB, free: 15.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.08552, allocations: 12.03 kB / 458.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.256e-05/0.08561, allocations: 66.72 kB / 458.4 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.135e-05/0.0857, allocations: 48.66 kB / 458.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000457/0.08616, allocations: 257.3 kB / 458.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.08619, allocations: 24.78 kB / 458.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.8e-05/0.08627, allocations: 43.94 kB / 458.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006804/0.08695, allocations: 341.5 kB / 459.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.08697, allocations: 0 / 459.1 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.08701, allocations: 15.94 kB / 459.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.08702, allocations: 8 kB / 459.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005957/0.08761, allocations: 242.5 kB / 459.3 MB, free: 14.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.08925, allocations: 0.7967 MB / 460.1 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006104/0.08986, allocations: 251.2 kB / 460.4 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.09013, allocations: 106.9 kB / 460.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.09016, allocations: 8.234 kB / 460.5 MB, free: 12.89 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004485/0.09061, allocations: 230.9 kB / 460.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.994e-06/0.09061, allocations: 0 / 460.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002634/0.09324, allocations: 1.089 MB / 461.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/0.0933, allocations: 63.39 kB / 461.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.09364, allocations: 304.5 kB / 462.2 MB, free: 11.12 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.09368, allocations: 41.69 kB / 462.2 MB, free: 11.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.09384, allocations: 188.9 kB / 462.4 MB, free: 10.88 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.09396, allocations: 126.9 kB / 462.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.09409, allocations: 74.03 kB / 462.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.09426, allocations: 342.8 kB / 462.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003244/0.09459, allocations: 144.1 kB / 463.1 MB, free: 10.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.09493, allocations: 183.5 kB / 463.2 MB, free: 9.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005654/0.0955, allocations: 277.8 kB / 463.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.0955, allocations: 0 / 463.5 MB, free: 9.699 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008169/0.09631, allocations: 415.8 kB / 463.9 MB, free: 9.277 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/0.09635, allocations: 33.7 kB / 463.9 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.09636, allocations: 0 / 463.9 MB, free: 9.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.09638, allocations: 4 kB / 464 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/0.09674, allocations: 79.83 kB / 464 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.09675, allocations: 0 / 464 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.097, allocations: 27.97 kB / 464.1 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.09703, allocations: 8 kB / 464.1 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00043/0.09746, allocations: 258.2 kB / 464.3 MB, free: 8.859 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003186/0.09778, allocations: 174.6 kB / 464.5 MB, free: 8.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005294/0.09831, allocations: 276.1 kB / 464.8 MB, free: 8.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.09831, allocations: 0 / 464.8 MB, free: 8.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.000835/0.09915, allocations: 416.1 kB / 465.2 MB, free: 7.965 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.09918, allocations: 33.7 kB / 465.2 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.09918, allocations: 4 kB / 465.2 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-06/0.09919, allocations: 4 kB / 465.2 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003048/0.0995, allocations: 75.89 kB / 465.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.0995, allocations: 0 / 465.3 MB, free: 7.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.09973, allocations: 19.98 kB / 465.3 MB, free: 7.824 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.09976, allocations: 12 kB / 465.3 MB, free: 7.812 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (controller.on,$PRE.controller.on,opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 1 * 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.0001702/0.09993, allocations: 204.2 kB / 465.5 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.078e-05/0.1, allocations: 43.69 kB / 465.6 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007273/0.1007, allocations: 336.6 kB / 465.9 MB, free: 7.223 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.1007, allocations: 4 kB / 465.9 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.1007, allocations: 0 / 465.9 MB, free: 7.219 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.1007, allocations: 3.984 kB / 465.9 MB, free: 7.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.1022, allocations: 0.7997 MB / 466.7 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.1022, allocations: 3.938 kB / 466.7 MB, free: 6.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005141/0.1028, allocations: 75.95 kB / 466.8 MB, free: 6.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1028, allocations: 3.938 kB / 466.8 MB, free: 6.27 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.1028, allocations: 11.98 kB / 466.8 MB, free: 6.258 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/0.1028, allocations: 4 kB / 466.8 MB, free: 6.254 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1028, allocations: 7.875 kB / 466.8 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.1043, allocations: 0.579 MB / 467.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.1045, allocations: 63.77 kB / 467.4 MB, free: 5.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.218e-05/0.1046, allocations: 12 kB / 467.4 MB, free: 5.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003819/0.1049, allocations: 23.97 kB / 467.5 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.1051, allocations: 35.88 kB / 467.5 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.1051, allocations: 12 kB / 467.5 MB, free: 5.488 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003601/0.1055, allocations: 219.1 kB / 467.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1055, allocations: 0 / 467.7 MB, free: 5.273 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007144/0.1062, allocations: 151.9 kB / 467.9 MB, free: 5.125 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: 6 ($whenCondition2,$whenCondition3,$whenCondition1,opening.T_start,opening.count,controller.on) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001515/0.1077, allocations: 1.143 MB / 469 MB, free: 3.941 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001347/0.1091, allocations: 0.5721 MB / 469.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.1091, allocations: 0 / 469.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004853/0.1095, allocations: 151.8 kB / 469.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007325/0.1103, allocations: 61.05 kB / 469.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007011/0.1173, allocations: 3.705 MB / 473.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.1175, allocations: 191.6 kB / 473.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002902/0.1178, allocations: 50.86 kB / 473.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.1181, allocations: 119.4 kB / 473.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1181, allocations: 0 / 473.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05188/0.17, allocations: 8.557 MB / 482.4 MB, free: 6.266 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.89, allocations: 3.984 kB / 482.4 MB, free: 6.262 MB / 350.1 MB " [Timeout remaining time 649] (rm -f MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; mkfifo MEV_MEV.Test.TestCylinderUnitOnOff.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinderUnitOnOff.pipe >> ../files/MEV_MEV.Test.TestCylinderUnitOnOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinderUnitOnOff_fmu --startTime=0 --stopTime=100 --stepSize=0.2 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinderUnitOnOff.fmu > MEV_MEV.Test.TestCylinderUnitOnOff.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.43465075828135] Failed to read output from testmodel.py, exit status != 0: 10.997393078636378 11.024014062 10.935148698 Calling exit ...