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] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 111.6 kB / 17.33 MB, free: 5.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 202.6 kB / 18.33 MB, free: 4.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 244.8 MB, free: 13.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8434/0.8434, allocations: 128.4 MB / 426.1 MB, free: 7.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 67.8 kB / 0.5912 GB, free: 21.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1977/0.1996, allocations: 83.26 MB / 0.6725 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.06086/0.2604, allocations: 54.95 MB / 0.7262 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01827/0.2787, allocations: 10.36 MB / 0.7363 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002538/0.2812, allocations: 67.56 kB / 0.7364 GB, free: 2.371 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003187/0.2844, allocations: 0.9086 MB / 0.7372 GB, free: 1.457 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006574/0.291, allocations: 2.016 MB / 0.7392 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006508/0.2975, allocations: 2.113 MB / 0.7413 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007417/0.3049, allocations: 3.765 MB / 0.745 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002992/0.3079, allocations: 0.9975 MB / 0.7459 GB, free: 8.527 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005734/0.3136, allocations: 1.926 MB / 0.7478 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002875/0.3165, allocations: 1.264 MB / 0.749 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003835/0.3169, allocations: 104 kB / 0.7491 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003842/0.3207, allocations: 1.333 MB / 0.7504 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006084/0.3214, allocations: 398.3 kB / 0.7508 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001446/0.3228, allocations: 0.8507 MB / 0.7517 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005391/0.3282, allocations: 2.463 MB / 0.7541 GB, free: 172 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3282, allocations: 0 / 0.7541 GB, free: 172 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3282, allocations: 0 / 0.7541 GB, free: 172 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.805e-05/0.3282, allocations: 0 / 0.7541 GB, free: 172 kB / 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.4172/0.7455, allocations: 2.191 MB / 0.7562 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.7455, allocations: 10.62 kB / 0.7562 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004323/0.7498, allocations: 0.6532 MB / 0.7569 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002701/0.7525, allocations: 1.196 MB / 0.758 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-05/0.7526, allocations: 83.19 kB / 0.7581 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.7528, allocations: 111.8 kB / 0.7582 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003244/0.7561, allocations: 1.494 MB / 0.7597 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.7561, allocations: 6.656 kB / 0.7597 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-05/0.7562, allocations: 47.58 kB / 0.7597 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-05/0.7562, allocations: 31.94 kB / 0.7597 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003678/0.7599, allocations: 1.221 MB / 0.7609 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009473/0.7694, allocations: 8.377 MB / 0.7691 GB, free: 9.078 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003481/0.7729, allocations: 1.043 MB / 0.7701 GB, free: 9.027 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00151/0.7744, allocations: 0.5275 MB / 0.7707 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/0.776, allocations: 2.902 MB / 0.7735 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001886/0.7779, allocations: 0.6737 MB / 0.7741 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 2.765e-06/0.7779, allocations: 0 / 0.7741 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.005292/0.7832, allocations: 1.797 MB / 0.7759 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.7832, allocations: 65.69 kB / 0.776 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002155/0.7854, allocations: 1.483 MB / 0.7774 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001215/0.7855, allocations: 49.08 kB / 0.7775 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000589/0.7861, allocations: 0.8007 MB / 0.7782 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000276/0.7864, allocations: 307.6 kB / 0.7785 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003348/0.7867, allocations: 223.5 kB / 0.7787 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.819e-05/0.7868, allocations: 347.4 kB / 0.7791 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001429/0.7882, allocations: 0.5186 MB / 0.7796 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00163/0.7899, allocations: 0.902 MB / 0.7805 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003301/0.7932, allocations: 1.415 MB / 0.7818 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/0.7932, allocations: 7.922 kB / 0.7819 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004678/0.7979, allocations: 1.613 MB / 0.7834 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.7979, allocations: 9.406 kB / 0.7834 GB, free: 3.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.7979, allocations: 15.53 kB / 0.7835 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.636e-05/0.7979, allocations: 18.25 kB / 0.7835 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/0.7995, allocations: 346.4 kB / 0.7838 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.123e-05/0.7995, allocations: 26.09 kB / 0.7838 GB, free: 3.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/0.8015, allocations: 225 kB / 0.784 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001486/0.8017, allocations: 69.53 kB / 0.7841 GB, free: 3.242 MB / 0.5762 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.0007627/0.8024, allocations: 345.9 kB / 0.7844 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/0.8028, allocations: 183.9 kB / 0.7846 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004788/0.8076, allocations: 2.109 MB / 0.7867 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.632e-05/0.8076, allocations: 23.33 kB / 0.7867 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.8076, allocations: 0.875 kB / 0.7867 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.8076, allocations: 5.906 kB / 0.7867 GB, free: 2.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006234/0.8139, allocations: 3.315 MB / 0.7899 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.8139, allocations: 4.516 kB / 0.7899 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.815, allocations: 238.2 kB / 0.7902 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.665e-05/0.815, allocations: 8.734 kB / 0.7902 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.413e-05/0.8151, allocations: 41.62 kB / 0.7902 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.798e-06/0.8151, allocations: 6.422 kB / 0.7902 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.8151, allocations: 10.09 kB / 0.7902 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005694/0.8208, allocations: 2.717 MB / 0.7929 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007669/0.8216, allocations: 398.4 kB / 0.7933 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/0.8218, allocations: 24.56 kB / 0.7933 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.8229, allocations: 119.9 kB / 0.7934 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.823, allocations: 81.55 kB / 0.7935 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.68e-05/0.8231, allocations: 55.84 kB / 0.7935 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001279/0.8244, allocations: 1.001 MB / 0.7945 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.8244, allocations: 0 / 0.7945 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001808/0.8262, allocations: 0.5496 MB / 0.795 GB, free: 1.605 MB / 0.5762 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.002281/0.8285, allocations: 0.8418 MB / 0.7959 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003657/0.8321, allocations: 1.413 MB / 0.7973 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8321, allocations: 2.969 kB / 0.7973 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001751/0.8339, allocations: 0.7515 MB / 0.798 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003308/0.8372, allocations: 0.7287 MB / 0.7987 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005181/0.8424, allocations: 3.181 MB / 0.8018 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008685/0.8432, allocations: 1.304 MB / 0.8031 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001482/0.8447, allocations: 375.3 kB / 0.8034 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003924/0.8451, allocations: 172.3 kB / 0.8036 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/0.8451, allocations: 0 / 0.8036 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of Templates: time 0.06155/0.9067, allocations: 32.92 MB / 0.8357 GB, free: 3.531 MB / 0.6075 GB 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]