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.001116/0.001117, allocations: 106.2 kB / 16.64 MB, free: 6.824 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.001105/0.001105, allocations: 197.9 kB / 17.57 MB, free: 5.93 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.337/1.337, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8081/0.8081, allocations: 122.9 MB / 414.2 MB, free: 15.96 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 63.89 kB / 0.4912 GB, free: 7.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4216, allocations: 77.91 MB / 0.5673 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6071/1.029, allocations: 191.3 MB / 0.7541 GB, free: 1.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01071/1.04, allocations: 5.123 MB / 0.7591 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/1.041, allocations: 46.41 kB / 0.7592 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002333/1.044, allocations: 0.7294 MB / 0.7599 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008383/1.052, allocations: 2.449 MB / 0.7623 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003902/1.056, allocations: 1.013 MB / 0.7633 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005258/1.061, allocations: 2.701 MB / 0.7659 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001816/1.063, allocations: 0.9487 MB / 0.7668 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002766/1.066, allocations: 1.136 MB / 0.7679 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00177/1.068, allocations: 1.048 MB / 0.769 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002129/1.068, allocations: 86.72 kB / 0.769 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004988/1.073, allocations: 1.864 MB / 0.7709 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000726/1.074, allocations: 451.6 kB / 0.7713 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00122/1.075, allocations: 0.6664 MB / 0.7719 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003251/1.078, allocations: 1.563 MB / 0.7735 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.078, allocations: 0.8438 kB / 0.7735 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.096e-06/1.078, allocations: 0.7812 kB / 0.7735 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.228e-05/1.078, allocations: 0 / 0.7735 GB, free: 1.391 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.006099/1.084, allocations: 1.96 MB / 0.7754 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.084, allocations: 9.062 kB / 0.7754 GB, free: 16.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005799/1.09, allocations: 0.8938 MB / 0.7763 GB, free: 16.37 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/1.092, allocations: 0.9072 MB / 0.7772 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.307e-05/1.092, allocations: 72.88 kB / 0.7772 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001916/1.092, allocations: 88.94 kB / 0.7773 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00422/1.096, allocations: 1.581 MB / 0.7789 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/1.097, allocations: 5.781 kB / 0.7789 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/1.097, allocations: 33.52 kB / 0.7789 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.03e-05/1.097, allocations: 48.52 kB / 0.7789 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005332/1.102, allocations: 1.857 MB / 0.7807 GB, free: 15.84 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.007662/1.11, allocations: 4.729 MB / 0.7854 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003991/1.114, allocations: 1.564 MB / 0.7869 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002094/1.116, allocations: 0.8566 MB / 0.7877 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/1.117, allocations: 0.9419 MB / 0.7886 GB, free: 13 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002421/1.12, allocations: 0.9108 MB / 0.7895 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.897e-06/1.12, allocations: 0 / 0.7895 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.007478/1.127, allocations: 2.457 MB / 0.7919 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/1.127, allocations: 63.22 kB / 0.792 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/1.129, allocations: 1.194 MB / 0.7932 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001589/1.129, allocations: 47.8 kB / 0.7932 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004089/1.129, allocations: 0.5383 MB / 0.7937 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003207/1.13, allocations: 333 kB / 0.7941 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003385/1.13, allocations: 185.7 kB / 0.7942 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.13, allocations: 345.7 kB / 0.7946 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/1.132, allocations: 0.6956 MB / 0.7952 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002143/1.134, allocations: 0.915 MB / 0.7961 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004009/1.138, allocations: 1.557 MB / 0.7977 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/1.138, allocations: 4 kB / 0.7977 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004888/1.143, allocations: 1.774 MB / 0.7994 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/1.143, allocations: 7.484 kB / 0.7994 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/1.143, allocations: 8.375 kB / 0.7994 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/1.143, allocations: 11.56 kB / 0.7994 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/1.145, allocations: 336.8 kB / 0.7997 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.716e-05/1.145, allocations: 13.47 kB / 0.7998 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/1.147, allocations: 255.3 kB / 0.8 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/1.147, allocations: 44.8 kB / 0.8 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.0007315/1.148, allocations: 342.5 kB / 0.8004 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/1.148, allocations: 138.1 kB / 0.8005 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005225/1.154, allocations: 1.797 MB / 0.8023 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/1.154, allocations: 11.06 kB / 0.8023 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.154, allocations: 0.9844 kB / 0.8023 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/1.154, allocations: 9.188 kB / 0.8023 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007376/1.161, allocations: 3.342 MB / 0.8055 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/1.161, allocations: 2.125 kB / 0.8055 GB, free: 9.859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/1.163, allocations: 293.7 kB / 0.8058 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/1.163, allocations: 11.06 kB / 0.8058 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001016/1.163, allocations: 36.78 kB / 0.8059 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.059e-05/1.163, allocations: 5.562 kB / 0.8059 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/1.163, allocations: 8.125 kB / 0.8059 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007483/1.171, allocations: 2.841 MB / 0.8086 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008493/1.171, allocations: 328.8 kB / 0.809 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004079/1.172, allocations: 24.78 kB / 0.809 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/1.174, allocations: 180.3 kB / 0.8092 GB, free: 8.551 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001867/1.174, allocations: 71.84 kB / 0.8092 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/1.174, allocations: 42.94 kB / 0.8093 GB, free: 8.512 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001335/1.175, allocations: 0.8286 MB / 0.8101 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.8e-07/1.175, allocations: 0 / 0.8101 GB, free: 8.277 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001537/1.177, allocations: 339.1 kB / 0.8104 GB, free: 8.254 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.00145/1.178, allocations: 0.531 MB / 0.8109 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005292/1.184, allocations: 1.778 MB / 0.8127 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.184, allocations: 3 kB / 0.8127 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002327/1.186, allocations: 0.8383 MB / 0.8135 GB, free: 7.477 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/1.19, allocations: 0.6163 MB / 0.8141 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007272/1.197, allocations: 3.469 MB / 0.8175 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009062/1.198, allocations: 1.186 MB / 0.8186 GB, free: 3.043 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007453/1.199, allocations: 129.4 kB / 0.8187 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of SimCode: time 1.152e-06/1.199, allocations: 0 / 0.8187 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of Templates: time 0.03437/1.233, allocations: 21.59 MB / 0.8398 GB, free: 13.67 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)