Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.00256/0.00256, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 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.00295/0.00295, allocations: 217.8 kB / 23.02 MB, free: 2.961 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 1.743/1.743, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.548/3.548, allocations: 0.5045 GB / 0.8104 GB, free: 2.793 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003704/0.003704, allocations: 71.89 kB / 1.177 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9983/1.002, allocations: 180 MB / 1.353 GB, free: 1.617 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.06461/1.067, allocations: 50.41 MB / 1.402 GB, free: 15.05 MB / 1.089 GB Notification: Performance of NFInst.instExpressions: time 0.01837/1.085, allocations: 9.703 MB / 1.412 GB, free: 5.32 MB / 1.089 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002256/1.087, allocations: 91.19 kB / 1.412 GB, free: 5.23 MB / 1.089 GB Notification: Performance of NFTyping.typeComponents: time 0.002583/1.09, allocations: 0.9125 MB / 1.413 GB, free: 4.312 MB / 1.089 GB Notification: Performance of NFTyping.typeBindings: time 0.007589/1.097, allocations: 2.06 MB / 1.415 GB, free: 2.242 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.007541/1.105, allocations: 2.008 MB / 1.417 GB, free: 240 kB / 1.089 GB Notification: Performance of NFFlatten.flatten: time 0.008063/1.113, allocations: 3.73 MB / 1.42 GB, free: 12.49 MB / 1.104 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/1.115, allocations: 0.9487 MB / 1.421 GB, free: 11.52 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006163/1.122, allocations: 1.949 MB / 1.423 GB, free: 9.559 MB / 1.104 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003055/1.125, allocations: 1.194 MB / 1.424 GB, free: 8.359 MB / 1.104 GB Notification: Performance of NFPackage.collectConstants: time 0.0003134/1.125, allocations: 108 kB / 1.424 GB, free: 8.254 MB / 1.104 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003698/1.129, allocations: 1.037 MB / 1.425 GB, free: 7.215 MB / 1.104 GB Notification: Performance of NFScalarize.scalarize: time 0.0006542/1.129, allocations: 406.2 kB / 1.426 GB, free: 6.816 MB / 1.104 GB Notification: Performance of NFVerifyModel.verify: time 0.001297/1.131, allocations: 0.6995 MB / 1.426 GB, free: 6.113 MB / 1.104 GB Notification: Performance of NFConvertDAE.convert: time 0.008377/1.139, allocations: 2.42 MB / 1.429 GB, free: 3.684 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/1.139, allocations: 0 / 1.429 GB, free: 3.684 MB / 1.104 GB Notification: Performance of FrontEnd: time 1.803e-06/1.139, allocations: 4 kB / 1.429 GB, free: 3.68 MB / 1.104 GB Notification: Performance of Transformations before backend: time 2.362e-05/1.139, allocations: 3.938 kB / 1.429 GB, free: 3.676 MB / 1.104 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.01119/1.15, allocations: 2.114 MB / 1.431 GB, free: 1.512 MB / 1.104 GB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/1.15, allocations: 8.922 kB / 1.431 GB, free: 1.504 MB / 1.104 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007883/1.158, allocations: 0.6582 MB / 1.431 GB, free: 0.8438 MB / 1.104 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005947/1.164, allocations: 1.072 MB / 1.433 GB, free: 15.72 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/1.164, allocations: 82.08 kB / 1.433 GB, free: 15.64 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002565/1.165, allocations: 112 kB / 1.433 GB, free: 15.53 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01029/1.175, allocations: 1.508 MB / 1.434 GB, free: 13.87 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.858e-05/1.175, allocations: 3.938 kB / 1.434 GB, free: 13.86 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/1.175, allocations: 48 kB / 1.434 GB, free: 13.82 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/1.175, allocations: 28 kB / 1.434 GB, free: 13.79 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005038/1.18, allocations: 1.245 MB / 1.435 GB, free: 12.54 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01303/1.193, allocations: 6.413 MB / 1.442 GB, free: 5.914 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004866/1.198, allocations: 1.053 MB / 1.443 GB, free: 4.855 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002296/1.2, allocations: 0.5325 MB / 1.443 GB, free: 4.324 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001581/1.202, allocations: 284.7 kB / 1.444 GB, free: 4.047 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002701/1.205, allocations: 0.68 MB / 1.444 GB, free: 3.355 MB / 1.12 GB Notification: Performance of pre-optimization done (n=85): time 5.22e-06/1.205, allocations: 0 / 1.444 GB, free: 3.355 MB / 1.12 GB Notification: Performance of matching and sorting (n=85): time 0.007709/1.212, allocations: 1.811 MB / 1.446 GB, free: 1.539 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/1.212, allocations: 60.41 kB / 1.446 GB, free: 1.469 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002428/1.215, allocations: 1.391 MB / 1.447 GB, free: 64 kB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 9.83e-05/1.215, allocations: 45.64 kB / 1.447 GB, free: 12 kB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009037/1.216, allocations: 0.8067 MB / 1.448 GB, free: 15.2 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003647/1.216, allocations: 313.4 kB / 1.449 GB, free: 14.89 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004142/1.217, allocations: 222.8 kB / 1.449 GB, free: 14.66 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 0.00023/1.217, allocations: 357.9 kB / 1.449 GB, free: 14.31 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/1.219, allocations: 0.5217 MB / 1.45 GB, free: 13.79 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002412/1.221, allocations: 1.137 MB / 1.451 GB, free: 12.43 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003709/1.225, allocations: 1.418 MB / 1.452 GB, free: 10.85 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.897e-06/1.225, allocations: 7.938 kB / 1.452 GB, free: 10.84 MB / 1.135 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004504/1.229, allocations: 1.617 MB / 1.454 GB, free: 9.223 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 2.672e-05/1.229, allocations: 8 kB / 1.454 GB, free: 9.215 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.229, allocations: 12 kB / 1.454 GB, free: 9.203 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.262e-05/1.229, allocations: 23.98 kB / 1.454 GB, free: 9.18 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/1.231, allocations: 347.8 kB / 1.454 GB, free: 8.84 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.991e-05/1.231, allocations: 27.92 kB / 1.454 GB, free: 8.812 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/1.232, allocations: 207 kB / 1.454 GB, free: 8.609 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001533/1.232, allocations: 63.97 kB / 1.454 GB, free: 8.547 MB / 1.135 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.000709/1.233, allocations: 351.2 kB / 1.455 GB, free: 8.195 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003266/1.233, allocations: 159 kB / 1.455 GB, free: 8.039 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005431/1.239, allocations: 2.173 MB / 1.457 GB, free: 5.855 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-05/1.239, allocations: 23.98 kB / 1.457 GB, free: 5.832 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/1.239, allocations: 7.984 kB / 1.457 GB, free: 5.824 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.766e-05/1.239, allocations: 3.984 kB / 1.457 GB, free: 5.82 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007363/1.246, allocations: 3.109 MB / 1.46 GB, free: 2.648 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.246, allocations: 4 kB / 1.46 GB, free: 2.645 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/1.248, allocations: 235.8 kB / 1.46 GB, free: 2.414 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/1.248, allocations: 8 kB / 1.46 GB, free: 2.406 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.66e-05/1.248, allocations: 43.89 kB / 1.46 GB, free: 2.363 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.104e-05/1.248, allocations: 12 kB / 1.46 GB, free: 2.352 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/1.248, allocations: 0 / 1.46 GB, free: 2.352 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007055/1.255, allocations: 2.806 MB / 1.463 GB, free: 15.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007715/1.255, allocations: 310.4 kB / 1.463 GB, free: 15.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/1.256, allocations: 31.92 kB / 1.463 GB, free: 15.17 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/1.257, allocations: 115.9 kB / 1.463 GB, free: 15.05 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/1.257, allocations: 84.84 kB / 1.464 GB, free: 14.97 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/1.257, allocations: 51.95 kB / 1.464 GB, free: 14.92 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001684/1.259, allocations: 0.932 MB / 1.465 GB, free: 13.99 MB / 1.151 GB Notification: Performance of sort global known variables: time 8.1e-08/1.259, allocations: 0 / 1.465 GB, free: 13.99 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001689/1.26, allocations: 0.5612 MB / 1.465 GB, free: 13.43 MB / 1.151 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.003673/1.264, allocations: 0.8643 MB / 1.466 GB, free: 12.75 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004264/1.268, allocations: 1.454 MB / 1.467 GB, free: 11.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.268, allocations: 4 kB / 1.467 GB, free: 11.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002073/1.27, allocations: 0.7831 MB / 1.468 GB, free: 10.52 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/1.273, allocations: 0.5797 MB / 1.469 GB, free: 9.949 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006661/1.28, allocations: 3.197 MB / 1.472 GB, free: 6.699 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008722/1.281, allocations: 0.7303 MB / 1.473 GB, free: 5.938 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001317/1.282, allocations: 347.1 kB / 1.473 GB, free: 5.594 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004307/1.282, allocations: 159.3 kB / 1.473 GB, free: 5.438 MB / 1.151 GB Notification: Performance of SimCode: time 8.11e-07/1.282, allocations: 0 / 1.473 GB, free: 5.438 MB / 1.151 GB Notification: Performance of Templates: time 0.05888/1.341, allocations: 32.57 MB / 1.505 GB, free: 5.523 MB / 1.182 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 11.768707889132202]