Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.0007912/0.0007912, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008249/0.0008249, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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.9036/0.9036, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6965/0.6965, allocations: 154.6 MB / 414.5 MB, free: 0.7656 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.6194 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.136e-05/3.326e-05, allocations: 5.234 kB / 0.6194 GB, free: 13.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03593/0.03596, allocations: 50 MB / 0.6682 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01201/0.04797, allocations: 9.776 MB / 0.6777 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002192/0.05016, allocations: 95.12 kB / 0.6778 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002212/0.05237, allocations: 0.92 MB / 0.6787 GB, free: 96 kB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.3601/0.4125, allocations: 2.128 MB / 0.6808 GB, free: 44.93 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004774/0.4173, allocations: 2.17 MB / 0.6829 GB, free: 44.84 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004786/0.422, allocations: 3.86 MB / 0.6867 GB, free: 44.03 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.4238, allocations: 0.9844 MB / 0.6877 GB, free: 43.93 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004234/0.4281, allocations: 2.469 MB / 0.6901 GB, free: 43.66 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001772/0.4298, allocations: 1.063 MB / 0.6911 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000195/0.43, allocations: 106.9 kB / 0.6912 GB, free: 43.54 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002239/0.4323, allocations: 1.053 MB / 0.6922 GB, free: 43.43 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003121/0.4326, allocations: 415.7 kB / 0.6926 GB, free: 43.34 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006756/0.4333, allocations: 0.5715 MB / 0.6932 GB, free: 43.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003722/0.437, allocations: 2.44 MB / 0.6956 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.437, allocations: 0 / 0.6956 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.184e-06/0.437, allocations: 0 / 0.6956 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.724e-05/0.437, allocations: 3.156 kB / 0.6956 GB, free: 42.96 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002504/0.4395, allocations: 2.103 MB / 0.6976 GB, free: 41.86 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.4396, allocations: 11.34 kB / 0.6976 GB, free: 41.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.4414, allocations: 0.6591 MB / 0.6983 GB, free: 41.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.443, allocations: 1.07 MB / 0.6993 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.896e-05/0.443, allocations: 87.02 kB / 0.6994 GB, free: 41.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.4432, allocations: 112 kB / 0.6995 GB, free: 41.32 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001913/0.4451, allocations: 1.508 MB / 0.701 GB, free: 40.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.4451, allocations: 10.16 kB / 0.701 GB, free: 40.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-05/0.4452, allocations: 46.59 kB / 0.7011 GB, free: 40.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.4452, allocations: 28.84 kB / 0.7011 GB, free: 40.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001878/0.4471, allocations: 1.233 MB / 0.7023 GB, free: 40.87 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005282/0.4524, allocations: 6.398 MB / 0.7085 GB, free: 37.06 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.4544, allocations: 1.068 MB / 0.7096 GB, free: 37.01 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000834/0.4552, allocations: 0.5361 MB / 0.7101 GB, free: 36.99 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006442/0.4558, allocations: 284 kB / 0.7104 GB, free: 36.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/0.4568, allocations: 0.6888 MB / 0.711 GB, free: 36.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=85): time 4.569e-06/0.4568, allocations: 0 / 0.711 GB, free: 36.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=85): time 0.00357/0.4604, allocations: 1.801 MB / 0.7128 GB, free: 36.77 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.4605, allocations: 66.78 kB / 0.7129 GB, free: 36.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00186/0.4623, allocations: 1.399 MB / 0.7142 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.115e-05/0.4624, allocations: 43.52 kB / 0.7143 GB, free: 36.47 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004629/0.4629, allocations: 0.8127 MB / 0.7151 GB, free: 36.01 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.4631, allocations: 316 kB / 0.7154 GB, free: 35.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.4633, allocations: 223.8 kB / 0.7156 GB, free: 35.67 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.4634, allocations: 349 kB / 0.7159 GB, free: 35.35 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009064/0.4643, allocations: 0.5234 MB / 0.7164 GB, free: 35.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.4655, allocations: 1.133 MB / 0.7175 GB, free: 34.35 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002241/0.4678, allocations: 1.421 MB / 0.7189 GB, free: 33.61 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.4678, allocations: 3.281 kB / 0.7189 GB, free: 33.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.003165/0.4709, allocations: 1.617 MB / 0.7205 GB, free: 33.12 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.471, allocations: 12.41 kB / 0.7205 GB, free: 33.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.471, allocations: 11.19 kB / 0.7205 GB, free: 33.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.006e-05/0.471, allocations: 16.47 kB / 0.7205 GB, free: 33.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008299/0.4719, allocations: 346.8 kB / 0.7209 GB, free: 33.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.111e-05/0.4719, allocations: 28.8 kB / 0.7209 GB, free: 33.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.473, allocations: 211.9 kB / 0.7211 GB, free: 33.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.4731, allocations: 66.2 kB / 0.7212 GB, free: 33.01 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0007049/0.4738, allocations: 346.2 kB / 0.7215 GB, free: 32.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.474, allocations: 161.9 kB / 0.7216 GB, free: 32.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003383/0.4774, allocations: 2.169 MB / 0.7238 GB, free: 32.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.57e-05/0.4775, allocations: 22.44 kB / 0.7238 GB, free: 32.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4775, allocations: 7.938 kB / 0.7238 GB, free: 32.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.4775, allocations: 5.578 kB / 0.7238 GB, free: 32.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005052/0.4825, allocations: 3.118 MB / 0.7268 GB, free: 30.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-05/0.4826, allocations: 5.344 kB / 0.7269 GB, free: 30.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007522/0.4833, allocations: 239.2 kB / 0.7271 GB, free: 30.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.698e-05/0.4833, allocations: 5.938 kB / 0.7271 GB, free: 30.88 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.883e-05/0.4834, allocations: 44.72 kB / 0.7271 GB, free: 30.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-05/0.4834, allocations: 8.562 kB / 0.7271 GB, free: 30.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4834, allocations: 6.266 kB / 0.7271 GB, free: 30.85 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004924/0.4883, allocations: 2.806 MB / 0.7299 GB, free: 29.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008417/0.4892, allocations: 315 kB / 0.7302 GB, free: 29.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/0.4893, allocations: 24.97 kB / 0.7302 GB, free: 29.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005872/0.4899, allocations: 117.6 kB / 0.7303 GB, free: 29.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.4901, allocations: 79.36 kB / 0.7304 GB, free: 29.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.4902, allocations: 55.17 kB / 0.7304 GB, free: 29.58 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001378/0.4916, allocations: 0.9365 MB / 0.7314 GB, free: 29.25 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.4916, allocations: 0 / 0.7314 GB, free: 29.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001995/0.4936, allocations: 0.5634 MB / 0.7319 GB, free: 29.11 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.001699/0.4953, allocations: 0.8677 MB / 0.7328 GB, free: 28.85 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002993/0.4983, allocations: 1.458 MB / 0.7342 GB, free: 28.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.4983, allocations: 5.219 kB / 0.7342 GB, free: 28.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0014/0.4997, allocations: 0.7839 MB / 0.735 GB, free: 28.31 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.5018, allocations: 0.6047 MB / 0.7355 GB, free: 28.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004901/0.5067, allocations: 3.188 MB / 0.7387 GB, free: 26.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007963/0.5075, allocations: 0.7342 MB / 0.7394 GB, free: 26.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005748/0.5081, allocations: 173.1 kB / 0.7395 GB, free: 26.41 MB / 0.6355 GB Notification: Performance of SimCode: time 2.886e-06/0.5081, allocations: 0 / 0.7395 GB, free: 26.41 MB / 0.6355 GB Notification: Performance of Templates: time 0.04804/0.5561, allocations: 28.45 MB / 0.7673 GB, free: 15.77 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.858364364132285] Failed to read output from testmodel.py, exit status != 0: 0.5642701517790556 0.570686405 0.13195020199999993 Calling exit ...