Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 104 kB / 16.52 MB, free: 6.27 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.002114/0.002114, allocations: 196 kB / 17.44 MB, free: 5.887 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.395/1.395, allocations: 222.9 MB / 241.1 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7249/0.7249, allocations: 115.3 MB / 406.6 MB, free: 6.461 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 59.91 kB / 493.6 MB, free: 0.8789 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3993, allocations: 76.17 MB / 0.5564 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2121/0.6115, allocations: 191.5 MB / 0.7434 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4308/1.042, allocations: 5.183 MB / 0.7485 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/1.044, allocations: 44.09 kB / 0.7485 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002202/1.046, allocations: 0.7148 MB / 0.7492 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006715/1.053, allocations: 2.443 MB / 0.7516 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002973/1.056, allocations: 1.004 MB / 0.7526 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006027/1.062, allocations: 3.61 MB / 0.7561 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002043/1.064, allocations: 0.8664 MB / 0.757 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002949/1.067, allocations: 1.019 MB / 0.758 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/1.07, allocations: 1.033 MB / 0.759 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002744/1.07, allocations: 55.5 kB / 0.759 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005218/1.075, allocations: 2.073 MB / 0.761 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007247/1.076, allocations: 423.4 kB / 0.7614 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001271/1.077, allocations: 0.6359 MB / 0.7621 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002869/1.08, allocations: 1.551 MB / 0.7636 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.08, allocations: 0 / 0.7636 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.683e-06/1.08, allocations: 0.9375 kB / 0.7636 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.784e-05/1.08, allocations: 4 kB / 0.7636 GB, free: 1.562 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005913/1.086, allocations: 1.951 MB / 0.7655 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/1.086, allocations: 16.84 kB / 0.7655 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005999/1.092, allocations: 0.8949 MB / 0.7664 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/1.094, allocations: 0.9038 MB / 0.7673 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.057e-05/1.094, allocations: 71.44 kB / 0.7673 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/1.095, allocations: 92.69 kB / 0.7674 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00422/1.099, allocations: 1.583 MB / 0.769 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.718e-05/1.099, allocations: 5.688 kB / 0.769 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/1.099, allocations: 37.42 kB / 0.769 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.309e-05/1.099, allocations: 49.73 kB / 0.7691 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005685/1.105, allocations: 1.846 MB / 0.7709 GB, free: 15.93 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009345/1.114, allocations: 4.732 MB / 0.7755 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004248/1.118, allocations: 1.571 MB / 0.777 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/1.121, allocations: 0.8445 MB / 0.7778 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/1.122, allocations: 0.9471 MB / 0.7788 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002667/1.125, allocations: 0.9079 MB / 0.7797 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.116e-06/1.125, allocations: 0 / 0.7797 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.007791/1.133, allocations: 2.456 MB / 0.7821 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.451e-05/1.133, allocations: 63.47 kB / 0.7821 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/1.134, allocations: 1.2 MB / 0.7833 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001684/1.134, allocations: 48.84 kB / 0.7833 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004459/1.135, allocations: 0.5432 MB / 0.7839 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/1.135, allocations: 325.8 kB / 0.7842 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003432/1.136, allocations: 186.9 kB / 0.7843 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.136, allocations: 341.2 kB / 0.7847 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002067/1.138, allocations: 0.7 MB / 0.7854 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002289/1.14, allocations: 0.9091 MB / 0.7862 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004092/1.144, allocations: 1.552 MB / 0.7878 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/1.144, allocations: 0 / 0.7878 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004909/1.149, allocations: 1.784 MB / 0.7895 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/1.149, allocations: 7.906 kB / 0.7895 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/1.149, allocations: 5.062 kB / 0.7895 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/1.149, allocations: 8.219 kB / 0.7895 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/1.151, allocations: 342.6 kB / 0.7899 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/1.151, allocations: 16.69 kB / 0.7899 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/1.153, allocations: 253.4 kB / 0.7901 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/1.153, allocations: 47.12 kB / 0.7902 GB, free: 11.15 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0006768/1.154, allocations: 339.9 kB / 0.7905 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/1.154, allocations: 134.8 kB / 0.7906 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004942/1.159, allocations: 1.802 MB / 0.7924 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/1.159, allocations: 11.36 kB / 0.7924 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/1.159, allocations: 48 / 0.7924 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/1.159, allocations: 7.969 kB / 0.7924 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007463/1.167, allocations: 3.337 MB / 0.7956 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/1.167, allocations: 3.688 kB / 0.7956 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/1.168, allocations: 295.4 kB / 0.7959 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.862e-05/1.169, allocations: 7.094 kB / 0.7959 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/1.169, allocations: 31.66 kB / 0.796 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.547e-05/1.169, allocations: 14.02 kB / 0.796 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/1.169, allocations: 7.5 kB / 0.796 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007335/1.176, allocations: 2.846 MB / 0.7988 GB, free: 8.543 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007957/1.177, allocations: 322.2 kB / 0.7991 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/1.177, allocations: 24.41 kB / 0.7991 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/1.179, allocations: 173.3 kB / 0.7993 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/1.179, allocations: 67.33 kB / 0.7993 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/1.179, allocations: 45.19 kB / 0.7994 GB, free: 8.23 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001082/1.18, allocations: 0.8314 MB / 0.8002 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.41e-07/1.18, allocations: 3.281 kB / 0.8002 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00122/1.181, allocations: 346.7 kB / 0.8005 GB, free: 7.961 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.001347/1.183, allocations: 0.5344 MB / 0.801 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004775/1.187, allocations: 1.621 MB / 0.8026 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.922e-06/1.187, allocations: 1.094 kB / 0.8026 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002255/1.19, allocations: 0.8408 MB / 0.8034 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003011/1.193, allocations: 0.5806 MB / 0.804 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006558/1.199, allocations: 3.463 MB / 0.8074 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007642/1.2, allocations: 1.183 MB / 0.8085 GB, free: 4.137 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007831/1.201, allocations: 132.5 kB / 0.8087 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of SimCode: time 7.11e-07/1.201, allocations: 0 / 0.8087 GB, free: 4.105 MB / 0.5919 GB Notification: Performance of Templates: time 0.03539/1.236, allocations: 21.57 MB / 0.8297 GB, free: 15.52 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)