Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 101 kB / 18.91 MB, free: 3.406 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 201.9 kB / 22.06 MB, free: 260 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 225.6 MB / 250.7 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8401/0.8401, allocations: 128.4 MB / 434.1 MB, free: 6.184 MB / 334.1 MB [Timeout remaining time 89] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00303/0.00303, allocations: 68.08 kB / 0.6013 GB, free: 21.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1914, allocations: 83.26 MB / 0.6826 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05863/0.2501, allocations: 54.95 MB / 0.7363 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01751/0.2676, allocations: 10.37 MB / 0.7464 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003364/0.271, allocations: 67.56 kB / 0.7464 GB, free: 1.121 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003065/0.274, allocations: 0.9164 MB / 0.7473 GB, free: 204 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006363/0.2804, allocations: 2.006 MB / 0.7493 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00611/0.2865, allocations: 2.126 MB / 0.7514 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006513/0.293, allocations: 3.769 MB / 0.7551 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00229/0.2953, allocations: 1.001 MB / 0.756 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005156/0.3004, allocations: 1.922 MB / 0.7579 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002807/0.3033, allocations: 1.256 MB / 0.7591 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005797/0.3038, allocations: 111.9 kB / 0.7592 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004613/0.3084, allocations: 1.33 MB / 0.7605 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009715/0.3094, allocations: 398.2 kB / 0.7609 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00186/0.3113, allocations: 0.8547 MB / 0.7618 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.3944/0.7057, allocations: 2.459 MB / 0.7642 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.7057, allocations: 0 / 0.7642 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7057, allocations: 4.344 kB / 0.7642 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.063e-05/0.7057, allocations: 0 / 0.7642 GB, free: 14.57 MB / 0.5762 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.00396/0.7097, allocations: 2.181 MB / 0.7663 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.7097, allocations: 9.625 kB / 0.7663 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003676/0.7134, allocations: 0.6582 MB / 0.7669 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002447/0.7159, allocations: 1.195 MB / 0.7681 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.721e-05/0.7159, allocations: 89.53 kB / 0.7682 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.7161, allocations: 111.1 kB / 0.7683 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003155/0.7193, allocations: 1.488 MB / 0.7698 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.7193, allocations: 9.391 kB / 0.7698 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.7194, allocations: 48.34 kB / 0.7698 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/0.7194, allocations: 32.69 kB / 0.7698 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003541/0.723, allocations: 1.221 MB / 0.771 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01025/0.7332, allocations: 8.374 MB / 0.7792 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003683/0.7369, allocations: 1.046 MB / 0.7802 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.7387, allocations: 0.5288 MB / 0.7808 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002357/0.7411, allocations: 2.894 MB / 0.7836 GB, free: 19.21 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001977/0.743, allocations: 0.6728 MB / 0.7842 GB, free: 19.15 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=85): time 4.348e-06/0.743, allocations: 3.094 kB / 0.7842 GB, free: 19.15 MB / 0.5919 GB Notification: Performance of matching and sorting (n=85): time 0.006003/0.749, allocations: 1.798 MB / 0.786 GB, free: 18.98 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.503e-05/0.7491, allocations: 60.97 kB / 0.7861 GB, free: 18.92 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00282/0.752, allocations: 1.491 MB / 0.7875 GB, free: 18.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.7521, allocations: 41.67 kB / 0.7875 GB, free: 18.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006037/0.7527, allocations: 0.7975 MB / 0.7883 GB, free: 18.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002985/0.753, allocations: 306.2 kB / 0.7886 GB, free: 18.24 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003579/0.7534, allocations: 229 kB / 0.7888 GB, free: 18.21 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001993/0.7536, allocations: 350.9 kB / 0.7892 GB, free: 17.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001495/0.7551, allocations: 0.5171 MB / 0.7897 GB, free: 17.89 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001707/0.7568, allocations: 0.8991 MB / 0.7906 GB, free: 17.44 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00305/0.7598, allocations: 1.413 MB / 0.7919 GB, free: 17 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.7598, allocations: 6.375 kB / 0.7919 GB, free: 17 MB / 0.5919 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004214/0.764, allocations: 1.613 MB / 0.7935 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.7641, allocations: 10.98 kB / 0.7935 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/0.7641, allocations: 10.94 kB / 0.7935 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.048e-05/0.7641, allocations: 17.91 kB / 0.7936 GB, free: 16.83 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.7655, allocations: 350.1 kB / 0.7939 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-05/0.7655, allocations: 27.81 kB / 0.7939 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.7673, allocations: 234.6 kB / 0.7941 GB, free: 16.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.7675, allocations: 63.53 kB / 0.7942 GB, free: 16.74 MB / 0.5919 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.0007419/0.7682, allocations: 343 kB / 0.7945 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002828/0.7685, allocations: 179.3 kB / 0.7947 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004607/0.7731, allocations: 2.119 MB / 0.7968 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.43e-05/0.7731, allocations: 22.08 kB / 0.7968 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.7732, allocations: 1.203 kB / 0.7968 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.7732, allocations: 8.219 kB / 0.7968 GB, free: 16.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006381/0.7795, allocations: 3.315 MB / 0.8 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.7796, allocations: 8.531 kB / 0.8 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.7807, allocations: 231.4 kB / 0.8003 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.3e-05/0.7807, allocations: 5.469 kB / 0.8003 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.218e-05/0.7808, allocations: 34.42 kB / 0.8003 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.508e-06/0.7808, allocations: 13.67 kB / 0.8003 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.7808, allocations: 5.219 kB / 0.8003 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005689/0.7865, allocations: 2.724 MB / 0.803 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008225/0.7873, allocations: 396.7 kB / 0.8034 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/0.7875, allocations: 22.34 kB / 0.8034 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.7886, allocations: 121.3 kB / 0.8035 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.7887, allocations: 79.05 kB / 0.8036 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-05/0.7888, allocations: 50.22 kB / 0.8036 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001292/0.7901, allocations: 1.008 MB / 0.8046 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.7901, allocations: 4 kB / 0.8046 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001739/0.7918, allocations: 0.546 MB / 0.8051 GB, free: 15.11 MB / 0.5919 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 (113): * Single equations (assignments): 82 * 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.002254/0.7941, allocations: 0.8366 MB / 0.806 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003532/0.7976, allocations: 1.42 MB / 0.8073 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.7976, allocations: 2.469 kB / 0.8073 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.7993, allocations: 0.7488 MB / 0.8081 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003124/0.8024, allocations: 0.7287 MB / 0.8088 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005458/0.8079, allocations: 3.234 MB / 0.8119 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008682/0.8088, allocations: 1.298 MB / 0.8132 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000633/0.8094, allocations: 181.4 kB / 0.8134 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of SimCode: time 1.373e-06/0.8094, allocations: 0 / 0.8134 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of Templates: time 0.04833/0.8577, allocations: 29.07 MB / 0.8418 GB, free: 5.836 MB / 0.6075 GB [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480]