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.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.00158/0.00158, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001446/0.001446, allocations: 214.3 kB / 22.25 MB, free: 5.129 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.341/1.341, allocations: 207.6 MB / 233 MB, free: 9.98 MB / 190.1 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.008736/0.008736, allocations: 1.961 MB / 287.2 MB, free: 3.961 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: translateModel(MEV.Test.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=83,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinder") translateModel(MEV.Test.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=83,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinder") [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.002235/0.002235, allocations: 76.94 kB / 402.3 MB, free: 50.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06494/0.06718, allocations: 49.71 MB / 452 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002671/0.06985, allocations: 2.404 MB / 454.4 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006433/0.07049, allocations: 0.5813 MB / 455 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.126e-05/0.07059, allocations: 4 kB / 455 MB, free: 2.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.07069, allocations: 35.7 kB / 455 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001155/0.0708, allocations: 75.33 kB / 455.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.07093, allocations: 39.95 kB / 455.1 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.07112, allocations: 246.8 kB / 455.4 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.07122, allocations: 36.52 kB / 455.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.036e-05/0.0713, allocations: 91.64 kB / 455.5 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.07143, allocations: 95.56 kB / 455.6 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.07146, allocations: 16 kB / 455.6 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.585e-05/0.07148, allocations: 16 kB / 455.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.07151, allocations: 31.86 kB / 455.6 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.335e-05/0.07157, allocations: 103.5 kB / 455.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.07174, allocations: 195.2 kB / 455.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.07175, allocations: 0 / 455.9 MB, free: 1.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.07175, allocations: 4 kB / 455.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.07175, allocations: 0 / 455.9 MB, free: 1.797 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.0005632/0.07232, allocations: 433.6 kB / 456.4 MB, free: 1.34 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.07234, allocations: 11.98 kB / 456.4 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.272e-05/0.07239, allocations: 24.8 kB / 456.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.07256, allocations: 162.2 kB / 456.5 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.328e-06/0.07257, allocations: 12.7 kB / 456.6 MB, free: 1.109 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.0726, allocations: 20.12 kB / 456.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.07285, allocations: 160.2 kB / 456.7 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.07286, allocations: 0 / 456.7 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.07287, allocations: 8 kB / 456.7 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.07288, allocations: 4 kB / 456.7 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.07308, allocations: 112.5 kB / 456.9 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006984/0.07378, allocations: 0.5224 MB / 457.4 MB, free: 248 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.07395, allocations: 90.53 kB / 457.5 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.209e-05/0.07404, allocations: 48.78 kB / 457.5 MB, free: 96 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.07405, allocations: 4 kB / 457.5 MB, free: 92 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.239e-05/0.07406, allocations: 38.55 kB / 457.6 MB, free: 44 kB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.07406, allocations: 0 / 457.6 MB, free: 44 kB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.001694/0.07576, allocations: 0.5558 MB / 458.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.07579, allocations: 51.41 kB / 458.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.07599, allocations: 199 kB / 458.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.07602, allocations: 29.7 kB / 458.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.0761, allocations: 128.4 kB / 458.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.07617, allocations: 63.47 kB / 458.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.124e-05/0.07623, allocations: 37.67 kB / 458.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.07637, allocations: 330.8 kB / 458.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.07648, allocations: 43.98 kB / 459 MB, free: 14.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001336/0.07662, allocations: 69.69 kB / 459 MB, free: 14.46 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/0.07685, allocations: 125.6 kB / 459.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.07685, allocations: 0 / 459.2 MB, free: 14.33 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003264/0.07718, allocations: 177.8 kB / 459.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.07719, allocations: 4 kB / 459.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.0772, allocations: 4 kB / 459.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.07722, allocations: 3.938 kB / 459.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001973/0.07741, allocations: 43.91 kB / 459.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.07742, allocations: 0 / 459.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.962e-05/0.07752, allocations: 8 kB / 459.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.07753, allocations: 4 kB / 459.4 MB, free: 14.09 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.0001198/0.07765, allocations: 133.8 kB / 459.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.638e-05/0.0777, allocations: 23.86 kB / 459.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.713e-05/0.07775, allocations: 29.8 kB / 459.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.07776, allocations: 3.938 kB / 459.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.07776, allocations: 0 / 459.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.07776, allocations: 0 / 459.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008175/0.07858, allocations: 0.5547 MB / 460.2 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.07859, allocations: 4 kB / 460.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.07877, allocations: 43.91 kB / 460.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.07878, allocations: 256 / 460.2 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.07879, allocations: 12 kB / 460.2 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.0788, allocations: 7.938 kB / 460.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.686e-06/0.0788, allocations: 11.94 kB / 460.2 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.07932, allocations: 370.1 kB / 460.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.933e-05/0.0794, allocations: 43.95 kB / 460.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.07943, allocations: 7.938 kB / 460.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001602/0.07959, allocations: 16.05 kB / 460.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.07964, allocations: 15.92 kB / 460.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.213e-05/0.07966, allocations: 12 kB / 460.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.07978, allocations: 148.6 kB / 460.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.07978, allocations: 0 / 460.8 MB, free: 12.54 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.08007, allocations: 40 kB / 460.9 MB, free: 12.5 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 9.947e-05/0.08017, allocations: 95.19 kB / 461 MB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002922/0.08046, allocations: 127.7 kB / 461.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.08046, allocations: 0 / 461.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.0806, allocations: 67.84 kB / 461.2 MB, free: 12.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003458/0.08095, allocations: 32.92 kB / 461.2 MB, free: 12.17 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008519/0.0818, allocations: 0.4989 MB / 461.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.08217, allocations: 0.7358 MB / 462.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.122e-05/0.08224, allocations: 17.41 kB / 462.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.08229, allocations: 19.44 kB / 462.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.08229, allocations: 0 / 462.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of Templates: time 0.004827/0.08711, allocations: 1.718 MB / 464.2 MB, free: 9.105 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestCylinder.makefile [Timeout 660] (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 & ./MEV_MEV.Test.TestCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestCylinder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.06590112298727] Failed to read output from testmodel.py, exit status != 0: 0.09429352707229555 0.10925289 0.034544603 Calling exit ...