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.001862/0.001862, 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.002296/0.002296, allocations: 213 kB / 22.25 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.402/1.402, allocations: 207.7 MB / 233.1 MB, free: 9.793 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.01562/0.01562, allocations: 1.966 MB / 287.3 MB, free: 3.672 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.003577/0.003577, allocations: 72.31 kB / 402.3 MB, free: 50.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09192/0.0955, allocations: 49.71 MB / 452 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestSupplyValve): time 0.002573/0.09807, allocations: 1.878 MB / 453.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008941/0.09897, allocations: 0.554 MB / 454.4 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.366e-05/0.09906, allocations: 0 / 454.4 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.751e-05/0.09912, allocations: 23.78 kB / 454.4 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.09925, allocations: 39.64 kB / 454.5 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00021/0.09946, allocations: 39.88 kB / 454.5 MB, free: 3.027 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.09963, allocations: 139.3 kB / 454.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.09974, allocations: 29.09 kB / 454.7 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.668e-05/0.09982, allocations: 43.86 kB / 454.7 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.867e-05/0.09991, allocations: 55.64 kB / 454.8 MB, free: 2.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.09993, allocations: 8 kB / 454.8 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.686e-05/0.09998, allocations: 16 kB / 454.8 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.1, allocations: 23.92 kB / 454.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.109e-05/0.1, allocations: 47.8 kB / 454.9 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1002, allocations: 115.5 kB / 455 MB, free: 2.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1002, allocations: 3.984 kB / 455 MB, free: 2.551 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1002, allocations: 3.938 kB / 455 MB, free: 2.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.81e-06/0.1002, allocations: 0 / 455 MB, free: 2.547 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.0004665/0.1007, allocations: 345.7 kB / 455.3 MB, free: 2.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.032e-05/0.1007, allocations: 15.98 kB / 455.3 MB, free: 2.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.925e-05/0.1007, allocations: 12.84 kB / 455.3 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.1009, allocations: 154.2 kB / 455.5 MB, free: 1.977 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.1009, allocations: 12.36 kB / 455.5 MB, free: 1.965 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.1009, allocations: 8.359 kB / 455.5 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.1011, allocations: 85.98 kB / 455.6 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.1011, allocations: 0 / 455.6 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.1011, allocations: 11.98 kB / 455.6 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-06/0.1011, allocations: 0 / 455.6 MB, free: 1.855 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001302/0.1013, allocations: 51.97 kB / 455.7 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.1017, allocations: 304.2 kB / 456 MB, free: 1.477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004259/0.1021, allocations: 66.48 kB / 456 MB, free: 1.402 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.1022, allocations: 20.94 kB / 456 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1022, allocations: 0 / 456 MB, free: 1.379 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.1022, allocations: 38.56 kB / 456.1 MB, free: 1.332 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1022, allocations: 0 / 456.1 MB, free: 1.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002404/0.1024, allocations: 89.55 kB / 456.2 MB, free: 1.238 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.1025, allocations: 51.41 kB / 456.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.1026, allocations: 159.7 kB / 456.4 MB, free: 1.012 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.1026, allocations: 33.64 kB / 456.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.12e-05/0.1026, allocations: 116.2 kB / 456.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.065e-05/0.1026, allocations: 15.88 kB / 456.5 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.1027, allocations: 25.67 kB / 456.6 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.705e-05/0.1027, allocations: 318.8 kB / 456.9 MB, free: 500 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.788e-05/0.1028, allocations: 24.84 kB / 456.9 MB, free: 472 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.537e-05/0.1028, allocations: 27.98 kB / 456.9 MB, free: 444 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.067e-05/0.1029, allocations: 40.84 kB / 457 MB, free: 400 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1029, allocations: 0 / 457 MB, free: 400 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000135/0.103, allocations: 85.64 kB / 457.1 MB, free: 308 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.103, allocations: 7.984 kB / 457.1 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.103, allocations: 4 kB / 457.1 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.1031, allocations: 3.938 kB / 457.1 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.192e-05/0.1031, allocations: 11.94 kB / 457.1 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1031, allocations: 0 / 457.1 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.974e-05/0.1032, allocations: 7.984 kB / 457.1 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1032, allocations: 4 kB / 457.1 MB, free: 268 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.767e-05/0.1033, allocations: 100.1 kB / 457.2 MB, free: 164 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.589e-05/0.1033, allocations: 23.98 kB / 457.2 MB, free: 140 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.968e-05/0.1034, allocations: 36.84 kB / 457.2 MB, free: 100 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.112e-06/0.1034, allocations: 7.938 kB / 457.3 MB, free: 92 kB / 318.1 MB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0001157/0.1035, allocations: 81.56 kB / 457.3 MB, free: 4 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.481e-06/0.1035, allocations: 4 kB / 457.3 MB, free: 0 / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-06/0.1035, allocations: 384 / 457.3 MB, free: 0 / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-06/0.1035, allocations: 0 / 457.3 MB, free: 0 / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.138e-05/0.1036, allocations: 8.047 kB / 457.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1036, allocations: 7.938 kB / 457.4 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.041e-05/0.1036, allocations: 11.94 kB / 457.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.051e-06/0.1036, allocations: 4 kB / 457.4 MB, free: 15.97 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.0001036/0.1037, allocations: 180.3 kB / 457.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.1038, allocations: 11.91 kB / 457.6 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000193/0.104, allocations: 77.95 kB / 457.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.104, allocations: 3.938 kB / 457.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.104, allocations: 0 / 457.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.104, allocations: 3.984 kB / 457.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.1044, allocations: 287.3 kB / 457.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1044, allocations: 0 / 457.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.678e-05/0.1044, allocations: 19.92 kB / 457.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.1044, allocations: 3.984 kB / 457.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1044, allocations: 3.984 kB / 458 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.1044, allocations: 4 kB / 458 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1044, allocations: 0 / 458 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001976/0.1046, allocations: 168.3 kB / 458.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.1047, allocations: 27.81 kB / 458.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.1047, allocations: 0 / 458.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.204e-05/0.1048, allocations: 4.031 kB / 458.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.1048, allocations: 15.92 kB / 458.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.1048, allocations: 0 / 458.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1049, allocations: 123.4 kB / 458.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1049, allocations: 0 / 458.3 MB, free: 14.97 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.1053, allocations: 43.89 kB / 458.3 MB, free: 14.93 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.0001281/0.1054, allocations: 95.25 kB / 458.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.1056, allocations: 59.91 kB / 458.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1056, allocations: 4 kB / 458.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.341e-05/0.1057, allocations: 19.98 kB / 458.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002895/0.106, allocations: 8 kB / 458.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005193/0.1065, allocations: 265.5 kB / 458.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.727e-05/0.1066, allocations: 93.19 kB / 458.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.738e-05/0.1066, allocations: 4 kB / 458.9 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.1066, allocations: 11.44 kB / 458.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1066, allocations: 0 / 458.9 MB, free: 14.32 MB / 334.1 MB Notification: Performance of Templates: time 0.003886/0.1105, allocations: 1.006 MB / 459.9 MB, free: 13.31 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: 4.445201709866524] Failed to read output from testmodel.py, exit status != 0: 0.12033499404788017 0.13386895000000001 0.030530174 Calling exit ...