Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestBellJarLinearControl.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.0009547/0.0009547, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001543/0.001543, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8554/0.8554, 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.005807/0.005807, 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.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestBellJarLinearControl,fileNamePrefix="MEV_MEV_Test_TestBellJarLinearControl",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 352.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.54e-05, allocations: 2.281 kB / 352.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestBellJarLinearControl): time 0.00322/0.003236, allocations: 3.403 MB / 355.9 MB, free: 12.47 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.004537, allocations: 0.8696 MB / 356.7 MB, free: 11.6 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001812/0.004718, allocations: 7.938 kB / 356.7 MB, free: 11.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.004852, allocations: 67.28 kB / 356.8 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.005049, allocations: 166.5 kB / 357 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.005363, allocations: 135.7 kB / 357.1 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003663/0.005729, allocations: 0.5716 MB / 357.7 MB, free: 10.65 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001832/0.005913, allocations: 114.4 kB / 357.8 MB, free: 10.54 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.006196, allocations: 311.2 kB / 358.1 MB, free: 10.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001352/0.006331, allocations: 167.4 kB / 358.3 MB, free: 10.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.783e-05/0.006369, allocations: 48 kB / 358.3 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.814e-05/0.006437, allocations: 52 kB / 358.3 MB, free: 9.973 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.609e-05/0.006483, allocations: 99.59 kB / 358.4 MB, free: 9.875 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.2e-05/0.006575, allocations: 163.6 kB / 358.6 MB, free: 9.715 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.006905, allocations: 0.5218 MB / 359.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.006906, allocations: 0 / 359.1 MB, free: 9.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.006907, allocations: 4 kB / 359.1 MB, free: 9.188 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.882e-06/0.006913, allocations: 0 / 359.1 MB, free: 9.188 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.0007755/0.007689, allocations: 0.6873 MB / 359.8 MB, free: 8.461 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.007723, allocations: 15.98 kB / 359.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.007767, allocations: 78.7 kB / 359.9 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.803e-05/0.007825, allocations: 52.61 kB / 360 MB, free: 8.309 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002732/0.008098, allocations: 277.4 kB / 360.2 MB, free: 8.012 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.00812, allocations: 29.38 kB / 360.3 MB, free: 7.984 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.008163, allocations: 36.38 kB / 360.3 MB, free: 7.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003816/0.008545, allocations: 382.2 kB / 360.7 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.008558, allocations: 0 / 360.7 MB, free: 7.559 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.14e-05/0.00858, allocations: 19.98 kB / 360.7 MB, free: 7.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.008586, allocations: 8 kB / 360.7 MB, free: 7.531 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.008894, allocations: 259.8 kB / 361 MB, free: 7.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009921/0.009886, allocations: 0.9771 MB / 361.9 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003283/0.01021, allocations: 271.3 kB / 362.2 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.01034, allocations: 113.2 kB / 362.3 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.849e-05/0.01036, allocations: 240 / 362.3 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002072/0.01057, allocations: 222.9 kB / 362.5 MB, free: 5.617 MB / 282.7 MB Notification: Performance of pre-optimization done (n=29): time 1.372e-06/0.01057, allocations: 0 / 362.5 MB, free: 5.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0013/0.01187, allocations: 1.076 MB / 363.6 MB, free: 4.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.01189, allocations: 55.41 kB / 363.7 MB, free: 4.422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002021/0.0121, allocations: 349.6 kB / 364 MB, free: 4.074 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.01212, allocations: 33.7 kB / 364 MB, free: 4.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.01219, allocations: 212.8 kB / 364.2 MB, free: 3.824 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.01224, allocations: 123 kB / 364.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.998e-05/0.01231, allocations: 78.03 kB / 364.4 MB, free: 3.617 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.7e-05/0.01236, allocations: 350.7 kB / 364.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.01252, allocations: 140.1 kB / 364.9 MB, free: 3.121 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.01268, allocations: 192.7 kB / 365.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002871/0.01297, allocations: 281.1 kB / 365.4 MB, free: 2.621 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01297, allocations: 4 kB / 365.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003994/0.01337, allocations: 432.5 kB / 365.8 MB, free: 2.176 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.01339, allocations: 37.7 kB / 365.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.0134, allocations: 0 / 365.8 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.01341, allocations: 4 kB / 365.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.01362, allocations: 79.89 kB / 365.9 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.01362, allocations: 0 / 365.9 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.01373, allocations: 24.08 kB / 365.9 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.01375, allocations: 16 kB / 366 MB, free: 2.012 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002009/0.01395, allocations: 258.6 kB / 366.2 MB, free: 1.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001486/0.0141, allocations: 180.8 kB / 366.4 MB, free: 1.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002606/0.01436, allocations: 285.4 kB / 366.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.01436, allocations: 0 / 366.7 MB, free: 1.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.0003529/0.01471, allocations: 420.5 kB / 367.1 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.01473, allocations: 36.66 kB / 367.1 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.01473, allocations: 4 kB / 367.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-06/0.01473, allocations: 0 / 367.1 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.0149, allocations: 83.89 kB / 367.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-06/0.0149, allocations: 8.031 kB / 367.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.015, allocations: 27.97 kB / 367.2 MB, free: 0.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.01501, allocations: 8 kB / 367.2 MB, free: 0.6602 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (opening.count,$PRE.opening.count,opening.T_start,$PRE.opening.T_start,$whenCondition1) * 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 6.435e-05/0.01508, allocations: 204.1 kB / 367.4 MB, free: 464 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.0151, allocations: 39.77 kB / 367.5 MB, free: 424 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000338/0.01544, allocations: 329.1 kB / 367.8 MB, free: 88 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01545, allocations: 7.984 kB / 367.8 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01545, allocations: 0 / 367.8 MB, free: 80 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.01545, allocations: 4 kB / 367.8 MB, free: 76 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008696/0.01632, allocations: 0.8019 MB / 368.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01633, allocations: 0 / 368.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.01653, allocations: 75.89 kB / 368.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.01654, allocations: 7.938 kB / 368.7 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.01656, allocations: 16 kB / 368.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.01656, allocations: 4.062 kB / 368.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.01656, allocations: 8 kB / 368.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006141/0.01718, allocations: 0.5508 MB / 369.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.01729, allocations: 67.77 kB / 369.3 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.01732, allocations: 11.94 kB / 369.4 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.01744, allocations: 15.98 kB / 369.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.0175, allocations: 35.88 kB / 369.4 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.01752, allocations: 16 kB / 369.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00018/0.0177, allocations: 243.2 kB / 369.7 MB, free: 14.14 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0177, allocations: 4 kB / 369.7 MB, free: 14.13 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003346/0.01803, allocations: 144 kB / 369.8 MB, free: 13.99 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (controller.firstOrder.y,bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007813/0.01881, allocations: 1.107 MB / 370.9 MB, free: 12.84 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000612/0.01943, allocations: 0.5841 MB / 371.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01943, allocations: 0 / 371.5 MB, free: 12.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.0196, allocations: 135.8 kB / 371.6 MB, free: 12.09 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.01992, allocations: 69.62 kB / 371.7 MB, free: 12.03 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.0233, allocations: 3.774 MB / 375.5 MB, free: 8.086 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.02343, allocations: 208.2 kB / 375.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001398/0.02357, allocations: 50.92 kB / 375.7 MB, free: 7.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.0237, allocations: 132.5 kB / 375.8 MB, free: 7.688 MB / 298.7 MB Notification: Performance of SimCode: time 4.2e-07/0.0237, allocations: 0 / 375.8 MB, free: 7.688 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02029/0.04399, allocations: 8.969 MB / 384.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.134/7.178, allocations: 8 kB / 384.8 MB, free: 14.67 MB / 314.7 MB " [Timeout remaining time 653] (rm -f MEV_MEV.Test.TestBellJarLinearControl.pipe ; mkfifo MEV_MEV.Test.TestBellJarLinearControl.pipe ; head -c 1048576 < MEV_MEV.Test.TestBellJarLinearControl.pipe >> ../files/MEV_MEV.Test.TestBellJarLinearControl.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestBellJarLinearControl_fmu --startTime=0 --stopTime=100 --stepSize=0.2 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestBellJarLinearControl.fmu > MEV_MEV.Test.TestBellJarLinearControl.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.937443633563817] Failed to read output from testmodel.py, exit status != 0: 7.265222165733576 7.275694921 7.266886982 Calling exit ...