Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestSupplyValve.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.001448/0.001448, allocations: 106.2 kB / 19.69 MB, free: 2.277 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.001651/0.001651, allocations: 221.5 kB / 23.01 MB, free: 4.605 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.461/1.461, allocations: 207.6 MB / 233.8 MB, free: 10.02 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.00926/0.00926, allocations: 1.97 MB / 288 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: translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") translateModel(MEV.Test.TestSupplyValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestSupplyValve") [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.002501/0.002501, allocations: 78.98 kB / 403 MB, free: 50.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08211/0.08461, allocations: 49.71 MB / 452.7 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.003355/0.08797, allocations: 1.963 MB / 454.7 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.08906, allocations: 0.589 MB / 455.3 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001349/0.0892, allocations: 4 kB / 455.3 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.49e-05/0.08928, allocations: 23.78 kB / 455.3 MB, free: 3.152 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.08947, allocations: 35.64 kB / 455.4 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002691/0.08974, allocations: 43.83 kB / 455.4 MB, free: 3.074 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000238/0.08998, allocations: 135.3 kB / 455.5 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.09011, allocations: 33.14 kB / 455.6 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.112e-05/0.09019, allocations: 51.8 kB / 455.6 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.09029, allocations: 51.72 kB / 455.7 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.09031, allocations: 8 kB / 455.7 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.691e-05/0.09038, allocations: 20 kB / 455.7 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.0904, allocations: 19.92 kB / 455.7 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.777e-05/0.09046, allocations: 59.67 kB / 455.8 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.09065, allocations: 115.5 kB / 455.9 MB, free: 2.586 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.09065, allocations: 7.984 kB / 455.9 MB, free: 2.578 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09066, allocations: 0 / 455.9 MB, free: 2.578 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.09066, allocations: 0 / 455.9 MB, free: 2.578 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000521/0.09118, allocations: 345.7 kB / 456.2 MB, free: 2.211 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.09122, allocations: 11.98 kB / 456.2 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.113e-05/0.09126, allocations: 20.84 kB / 456.3 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.09143, allocations: 142.2 kB / 456.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.09144, allocations: 12.36 kB / 456.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.09146, allocations: 12.38 kB / 456.4 MB, free: 1.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.09164, allocations: 81.98 kB / 456.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.09165, allocations: 0 / 456.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.09167, allocations: 7.984 kB / 456.5 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.09167, allocations: 0 / 456.5 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.0918, allocations: 59.91 kB / 456.6 MB, free: 1.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.0923, allocations: 355.6 kB / 456.9 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.09273, allocations: 70.47 kB / 457 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.102e-05/0.09278, allocations: 20.94 kB / 457 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.0928, allocations: 0 / 457 MB, free: 1.348 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.09281, allocations: 34.56 kB / 457 MB, free: 1.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.09281, allocations: 0 / 457 MB, free: 1.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002473/0.09306, allocations: 89.52 kB / 457.1 MB, free: 1.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.0931, allocations: 55.34 kB / 457.2 MB, free: 1.145 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.09324, allocations: 190.8 kB / 457.4 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.09325, allocations: 25.7 kB / 457.4 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.09331, allocations: 112 kB / 457.5 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.628e-06/0.09332, allocations: 11.95 kB / 457.5 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.09336, allocations: 25.66 kB / 457.5 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.306e-05/0.09341, allocations: 326.8 kB / 457.9 MB, free: 440 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.818e-05/0.09347, allocations: 20.84 kB / 457.9 MB, free: 416 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.621e-05/0.09352, allocations: 27.98 kB / 457.9 MB, free: 388 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.502e-05/0.09362, allocations: 40.84 kB / 458 MB, free: 344 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.09362, allocations: 4 kB / 458 MB, free: 340 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001318/0.09375, allocations: 89.56 kB / 458 MB, free: 244 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.09376, allocations: 8 kB / 458 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.09377, allocations: 3.938 kB / 458.1 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.09378, allocations: 0 / 458.1 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.165e-05/0.09385, allocations: 11.98 kB / 458.1 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.09386, allocations: 4 kB / 458.1 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.914e-05/0.09392, allocations: 7.891 kB / 458.1 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.09393, allocations: 4 kB / 458.1 MB, free: 204 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.95e-05/0.094, allocations: 112.1 kB / 458.2 MB, free: 88 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.222e-05/0.09403, allocations: 12 kB / 458.2 MB, free: 76 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.948e-05/0.0941, allocations: 40.84 kB / 458.2 MB, free: 32 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.92e-07/0.0941, allocations: 0 / 458.2 MB, free: 32 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001696/0.09427, allocations: 81.75 kB / 458.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.09428, allocations: 8 kB / 458.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.92e-07/0.09428, allocations: 3.938 kB / 458.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-06/0.09428, allocations: 3.75 kB / 458.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.085e-05/0.09434, allocations: 16.36 kB / 458.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-06/0.09434, allocations: 0 / 458.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.28e-05/0.09441, allocations: 8 kB / 458.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-06/0.09441, allocations: 0 / 458.4 MB, free: 15.9 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0001366/0.09454, allocations: 184.3 kB / 458.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.939e-05/0.09458, allocations: 15.84 kB / 458.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.0948, allocations: 82.62 kB / 458.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.0948, allocations: 0 / 458.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.09481, allocations: 4 kB / 458.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.09481, allocations: 0 / 458.6 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.09525, allocations: 322.6 kB / 459 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.09525, allocations: 0 / 459 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.062e-05/0.0953, allocations: 8.047 kB / 459 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.09531, allocations: 3.984 kB / 459 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.09532, allocations: 8 kB / 459 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.09532, allocations: 0 / 459 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.09532, allocations: 0 / 459 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.09554, allocations: 180.3 kB / 459.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.549e-05/0.09558, allocations: 19.89 kB / 459.2 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.09561, allocations: 3.938 kB / 459.2 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.537e-05/0.09569, allocations: 11.92 kB / 459.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.09573, allocations: 7.938 kB / 459.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.09573, allocations: 4 kB / 459.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001461/0.09588, allocations: 140 kB / 459.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.09588, allocations: 0 / 459.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.09619, allocations: 40 kB / 459.4 MB, free: 14.8 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.000135/0.09632, allocations: 95.23 kB / 459.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002366/0.09656, allocations: 63.91 kB / 459.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.09656, allocations: 0 / 459.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.923e-05/0.09661, allocations: 15.98 kB / 459.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.09695, allocations: 23.92 kB / 459.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/0.09756, allocations: 283.2 kB / 459.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.09798, allocations: 0.7041 MB / 460.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.609e-05/0.09802, allocations: 15.38 kB / 460.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.09802, allocations: 0 / 460.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of Templates: time 0.003669/0.1017, allocations: 1.246 MB / 461.8 MB, free: 12.28 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestSupplyValve.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestSupplyValve.pipe ; mkfifo MEV_MEV.Test.TestSupplyValve.pipe ; head -c 1048576 < MEV_MEV.Test.TestSupplyValve.pipe >> ../files/MEV_MEV.Test.TestSupplyValve.sim & ./MEV_MEV.Test.TestSupplyValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestSupplyValve.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.808271969901398] Failed to read output from testmodel.py, exit status != 0: 0.11032686103135347 0.126424627 0.032582102 Calling exit ...