Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 109.5 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 192.5 kB / 19.41 MB, free: 3.539 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.39/1.39, allocations: 207.6 MB / 229.8 MB, free: 11.42 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.01006/0.01006, allocations: 1.97 MB / 283.6 MB, free: 5.082 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(MEV.Test.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 73.02 kB / 396.5 MB, free: 51.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08014/0.08245, allocations: 49.66 MB / 446.2 MB, free: 7.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.003313/0.08577, allocations: 2.392 MB / 448.6 MB, free: 5.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.0868, allocations: 0.5813 MB / 449.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002153/0.08701, allocations: 0 / 449.2 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001717/0.08718, allocations: 31.7 kB / 449.2 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002246/0.08741, allocations: 75.36 kB / 449.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001968/0.0876, allocations: 43.94 kB / 449.3 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.0879, allocations: 242.8 kB / 449.6 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.08806, allocations: 36.23 kB / 449.6 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001305/0.08819, allocations: 87.7 kB / 449.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000156/0.08835, allocations: 91.5 kB / 449.8 MB, free: 4.195 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.08838, allocations: 16 kB / 449.8 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.664e-05/0.08842, allocations: 16 kB / 449.8 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.223e-05/0.08845, allocations: 39.86 kB / 449.8 MB, free: 4.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.199e-05/0.08853, allocations: 107.5 kB / 449.9 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.08877, allocations: 191.2 kB / 450.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.08877, allocations: 0 / 450.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.08878, allocations: 0 / 450.1 MB, free: 3.832 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.958e-06/0.08879, allocations: 0 / 450.1 MB, free: 3.832 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006797/0.08946, allocations: 0.4987 MB / 450.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.0895, allocations: 11.89 kB / 450.6 MB, free: 3.27 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.151e-05/0.08956, allocations: 54.73 kB / 450.7 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.08961, allocations: 24.8 kB / 450.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.08987, allocations: 220 kB / 450.9 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.08989, allocations: 8.703 kB / 450.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.11e-05/0.08992, allocations: 23.94 kB / 451 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.0902, allocations: 156.2 kB / 451.1 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.09021, allocations: 0 / 451.1 MB, free: 2.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.09023, allocations: 11.94 kB / 451.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.09023, allocations: 4 kB / 451.1 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000221/0.09045, allocations: 116.5 kB / 451.2 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00085/0.0913, allocations: 0.5468 MB / 451.8 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.09149, allocations: 90.55 kB / 451.9 MB, free: 1.918 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/0.09159, allocations: 52.83 kB / 451.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.0916, allocations: 4 kB / 451.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.09162, allocations: 30.56 kB / 452 MB, free: 1.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.963e-06/0.09163, allocations: 3.984 kB / 452 MB, free: 1.816 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001561/0.09319, allocations: 0.631 MB / 452.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.923e-05/0.09322, allocations: 59.41 kB / 452.7 MB, free: 1.062 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.09335, allocations: 195 kB / 452.9 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.09336, allocations: 25.7 kB / 452.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.09342, allocations: 140.4 kB / 453 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.09345, allocations: 55.55 kB / 453.1 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.371e-05/0.0935, allocations: 37.66 kB / 453.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.707e-05/0.09355, allocations: 326.8 kB / 453.4 MB, free: 272 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.898e-05/0.09365, allocations: 47.97 kB / 453.5 MB, free: 224 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.887e-05/0.09374, allocations: 69.69 kB / 453.5 MB, free: 148 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.09393, allocations: 133.8 kB / 453.7 MB, free: 8 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-06/0.09393, allocations: 0 / 453.7 MB, free: 8 kB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003537/0.09429, allocations: 169.5 kB / 453.8 MB, free: 15.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.415e-05/0.09431, allocations: 16.08 kB / 453.8 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.09432, allocations: 4 kB / 453.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.09434, allocations: 3.938 kB / 453.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.09453, allocations: 39.92 kB / 453.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.09454, allocations: 0 / 453.9 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.09465, allocations: 15.98 kB / 453.9 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.09466, allocations: 4 kB / 453.9 MB, free: 15.75 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0001237/0.09478, allocations: 133.7 kB / 454 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.809e-05/0.09483, allocations: 27.86 kB / 454.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.008e-05/0.09489, allocations: 29.8 kB / 454.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.0949, allocations: 0 / 454.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.0949, allocations: 0 / 454.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.0949, allocations: 0 / 454.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008908/0.09579, allocations: 0.5907 MB / 454.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.0958, allocations: 4 kB / 454.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.09599, allocations: 39.98 kB / 454.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/0.096, allocations: 3.984 kB / 454.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.09601, allocations: 4 kB / 454.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.364e-06/0.09602, allocations: 8.188 kB / 454.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.09602, allocations: 4 kB / 454.8 MB, free: 14.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/0.09656, allocations: 366.1 kB / 455.1 MB, free: 14.42 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.09668, allocations: 120.9 kB / 455.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.09671, allocations: 8 kB / 455.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.09687, allocations: 11.98 kB / 455.3 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.09692, allocations: 23.98 kB / 455.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.09694, allocations: 4 kB / 455.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001397/0.09708, allocations: 148.4 kB / 455.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09708, allocations: 0 / 455.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002901/0.09737, allocations: 40 kB / 455.5 MB, free: 14.05 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (cylinder.y) * 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 (17): * Single equations (assignments): 17 * 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.000866/0.09823, allocations: 0.9024 MB / 456.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003276/0.09856, allocations: 131.7 kB / 456.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.09856, allocations: 0 / 456.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.09871, allocations: 64.36 kB / 456.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.09909, allocations: 28.11 kB / 456.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.102, allocations: 2.223 MB / 458.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.1024, allocations: 0.7358 MB / 459.5 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.652e-05/0.1025, allocations: 17.41 kB / 459.6 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-05/0.1026, allocations: 47.42 kB / 459.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1026, allocations: 0 / 459.6 MB, free: 9.695 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02997/0.1325, allocations: 3.539 MB / 463.1 MB, free: 6.109 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.646/8.779, allocations: 12.3 kB / 463.2 MB, free: 6.098 MB / 334.1 MB " [Timeout remaining time 651] (rm -f MEV_MEV.Test.TestCylinder.pipe ; mkfifo MEV_MEV.Test.TestCylinder.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinder.pipe >> ../files/MEV_MEV.Test.TestCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_MEV_MEV_Test_TestCylinder_fmu --startTime=0 --stopTime=5 --stepSize=0.060241 --timeout=50 --tolerance=1e-06 MEV_MEV_Test_TestCylinder.fmu > MEV_MEV.Test.TestCylinder.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.22838828805834] Failed to read output from testmodel.py, exit status != 0: 8.86819752305746 8.894046027 8.801585771 Calling exit ...