Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.0009099/0.0009099, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0009701/0.0009701, allocations: 203.2 kB / 23 MB, free: 3.113 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9238/0.9238, allocations: 230.6 MB / 256.8 MB, free: 3.48 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7618/0.7618, allocations: 203.8 MB / 0.5049 GB, free: 0.7109 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 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.0008935/0.0008935, allocations: 71.89 kB / 0.7195 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/0.4971, allocations: 102 MB / 0.8191 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2129/0.71, allocations: 246.4 MB / 1.06 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.7213, allocations: 8.584 MB / 1.068 GB, free: 3.363 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002042/0.7233, allocations: 99.06 kB / 1.068 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.002477/0.7258, allocations: 1.08 MB / 1.069 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.00678/0.7325, allocations: 3.274 MB / 1.073 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00697/0.7395, allocations: 3.644 MB / 1.076 GB, free: 11.24 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.006341/0.7459, allocations: 3.999 MB / 1.08 GB, free: 7.23 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002894/0.7488, allocations: 1.112 MB / 1.081 GB, free: 6.086 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006391/0.7551, allocations: 2.324 MB / 1.083 GB, free: 3.754 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003154/0.7583, allocations: 1.444 MB / 1.085 GB, free: 2.305 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0004303/0.7587, allocations: 132 kB / 1.085 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00735/0.7661, allocations: 4.263 MB / 1.089 GB, free: 13.9 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.001027/0.7671, allocations: 0.6033 MB / 1.09 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001928/0.769, allocations: 0.9946 MB / 1.091 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.009675/0.7787, allocations: 3.873 MB / 1.094 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.7787, allocations: 0 / 1.094 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7787, allocations: 0 / 1.094 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001009/0.7788, allocations: 0 / 1.094 GB, free: 8.41 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.00571/0.7845, allocations: 2.65 MB / 1.097 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.7846, allocations: 13.45 kB / 1.097 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003505/0.7881, allocations: 1.099 MB / 1.098 GB, free: 4.594 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.7901, allocations: 1.172 MB / 1.099 GB, free: 3.375 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.327e-05/0.7901, allocations: 98.56 kB / 1.099 GB, free: 3.277 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/0.7903, allocations: 131.9 kB / 1.099 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002806/0.7931, allocations: 1.984 MB / 1.101 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/0.7931, allocations: 3.938 kB / 1.101 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.7932, allocations: 56 kB / 1.101 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-05/0.7933, allocations: 58.3 kB / 1.101 GB, free: 0.9023 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002823/0.7961, allocations: 1.867 MB / 1.103 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007907/0.804, allocations: 9.117 MB / 1.112 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.8063, allocations: 1.54 MB / 1.114 GB, free: 3.734 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.8073, allocations: 0.743 MB / 1.114 GB, free: 2.992 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003996/0.8077, allocations: 144.9 kB / 1.115 GB, free: 2.848 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001371/0.8091, allocations: 0.8719 MB / 1.115 GB, free: 1.965 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=104): time 4.569e-06/0.8091, allocations: 4 kB / 1.115 GB, free: 1.961 MB / 0.8855 GB Notification: Performance of matching and sorting (n=104): time 0.3698/1.179, allocations: 2.314 MB / 1.118 GB, free: 269.3 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.623e-05/1.179, allocations: 64.98 kB / 1.118 GB, free: 269.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/1.181, allocations: 1.693 MB / 1.119 GB, free: 268.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000204/1.181, allocations: 50.06 kB / 1.119 GB, free: 268.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004839/1.182, allocations: 0.8499 MB / 1.12 GB, free: 268.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002758/1.182, allocations: 383.2 kB / 1.121 GB, free: 268.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002914/1.182, allocations: 239.6 kB / 1.121 GB, free: 268 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.506e-05/1.182, allocations: 356.8 kB / 1.121 GB, free: 267.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001165/1.183, allocations: 0.6625 MB / 1.122 GB, free: 267.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/1.185, allocations: 1.053 MB / 1.123 GB, free: 266.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002417/1.187, allocations: 1.713 MB / 1.125 GB, free: 266 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/1.187, allocations: 6.531 kB / 1.125 GB, free: 266 MB / 0.8855 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003469/1.191, allocations: 1.924 MB / 1.126 GB, free: 265.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/1.191, allocations: 12.91 kB / 1.126 GB, free: 265.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/1.191, allocations: 12.55 kB / 1.126 GB, free: 265.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.63e-05/1.191, allocations: 20.27 kB / 1.126 GB, free: 265.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/1.192, allocations: 360.2 kB / 1.127 GB, free: 265.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.884e-05/1.192, allocations: 26.86 kB / 1.127 GB, free: 265.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/1.193, allocations: 257.4 kB / 1.127 GB, free: 265.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.986e-05/1.193, allocations: 62.97 kB / 1.127 GB, free: 265.3 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 157 * 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.0006244/1.194, allocations: 407.3 kB / 1.128 GB, free: 265 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002252/1.194, allocations: 198.6 kB / 1.128 GB, free: 264.9 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002921/1.197, allocations: 1.81 MB / 1.13 GB, free: 264.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/1.197, allocations: 11.7 kB / 1.13 GB, free: 264.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/1.197, allocations: 0 / 1.13 GB, free: 264.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/1.197, allocations: 5.016 kB / 1.13 GB, free: 264.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005801/1.203, allocations: 3.939 MB / 1.133 GB, free: 262.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/1.203, allocations: 10.38 kB / 1.133 GB, free: 262.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008207/1.204, allocations: 268.2 kB / 1.134 GB, free: 262.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-05/1.204, allocations: 11 kB / 1.134 GB, free: 262.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/1.204, allocations: 39.94 kB / 1.134 GB, free: 262.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.812e-05/1.204, allocations: 12.31 kB / 1.134 GB, free: 262.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-05/1.204, allocations: 11.52 kB / 1.134 GB, free: 262.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004022/1.208, allocations: 2.904 MB / 1.137 GB, free: 261.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000753/1.208, allocations: 312.1 kB / 1.137 GB, free: 261.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/1.209, allocations: 31.64 kB / 1.137 GB, free: 261.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/1.209, allocations: 122.6 kB / 1.137 GB, free: 261.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.209, allocations: 93.11 kB / 1.137 GB, free: 261.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-05/1.209, allocations: 48.95 kB / 1.137 GB, free: 261.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001309/1.211, allocations: 1.153 MB / 1.138 GB, free: 261 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.11e-07/1.211, allocations: 0 / 1.138 GB, free: 261 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.001191/1.212, allocations: 472.9 kB / 1.139 GB, free: 260.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001029/1.213, allocations: 0.5838 MB / 1.139 GB, free: 260.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002821/1.216, allocations: 1.57 MB / 1.141 GB, free: 260.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/1.216, allocations: 1.188 kB / 1.141 GB, free: 260.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/1.217, allocations: 0.7787 MB / 1.142 GB, free: 260.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002873/1.22, allocations: 0.9296 MB / 1.142 GB, free: 259.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006636/1.227, allocations: 4.003 MB / 1.146 GB, free: 258 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009026/1.227, allocations: 1.371 MB / 1.148 GB, free: 257.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007337/1.228, allocations: 164.5 kB / 1.148 GB, free: 257.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.353e-06/1.228, allocations: 4 kB / 1.148 GB, free: 257.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.04066/1.269, allocations: 29.64 MB / 1.177 GB, free: 243.9 MB / 0.8855 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.618810215964913] Failed to read output from testmodel.py, exit status != 0: 1.275338247185573 1.281129717 0.500701124 Calling exit ...