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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 186.6 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4686/0.4686, allocations: 87.5 MB / 104.9 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 349.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 111.7 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 51.91 kB / 0.4891 GB, free: 7.715 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.3289, allocations: 70.06 MB / 0.5575 GB, free: 44.78 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5743/0.9032, allocations: 191.5 MB / 0.7445 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.01135/0.9146, allocations: 5.189 MB / 0.7496 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001695/0.9164, allocations: 44.12 kB / 0.7497 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.002151/0.9185, allocations: 0.7096 MB / 0.7503 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.006717/0.9253, allocations: 2.453 MB / 0.7527 GB, free: 0.9961 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.928, allocations: 0.9998 MB / 0.7537 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004552/0.9326, allocations: 3.627 MB / 0.7573 GB, free: 0.9648 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00126/0.9339, allocations: 0.8609 MB / 0.7581 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00198/0.9359, allocations: 1.035 MB / 0.7591 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001326/0.9372, allocations: 1.028 MB / 0.7601 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001533/0.9374, allocations: 58.8 kB / 0.7602 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003893/0.9413, allocations: 2.069 MB / 0.7622 GB, free: 0.7852 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004859/0.9418, allocations: 431.3 kB / 0.7626 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00087/0.9427, allocations: 0.6343 MB / 0.7632 GB, free: 0.5078 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004313/0.947, allocations: 2.264 MB / 0.7654 GB, free: 196 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.947, allocations: 0 / 0.7654 GB, free: 196 kB / 0.5105 GB Notification: Performance of FrontEnd: time 1.472e-06/0.947, allocations: 0 / 0.7654 GB, free: 196 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.93e-05/0.9471, allocations: 0 / 0.7654 GB, free: 196 kB / 0.5105 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.005775/0.9528, allocations: 1.956 MB / 0.7673 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.9529, allocations: 11.06 kB / 0.7674 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005738/0.9587, allocations: 0.8971 MB / 0.7682 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001938/0.9606, allocations: 0.9071 MB / 0.7691 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.631e-05/0.9607, allocations: 66.69 kB / 0.7692 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.9609, allocations: 90.38 kB / 0.7693 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003714/0.9646, allocations: 1.587 MB / 0.7708 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.871e-05/0.9646, allocations: 10.84 kB / 0.7708 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.9648, allocations: 33.98 kB / 0.7709 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-05/0.9648, allocations: 48.28 kB / 0.7709 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005405/0.9702, allocations: 1.848 MB / 0.7727 GB, free: 14.18 MB / 0.5261 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.009126/0.9794, allocations: 4.746 MB / 0.7773 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004332/0.9838, allocations: 1.558 MB / 0.7789 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002409/0.9862, allocations: 0.8536 MB / 0.7797 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001253/0.9875, allocations: 0.9464 MB / 0.7806 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002433/0.9899, allocations: 0.9066 MB / 0.7815 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=95): time 5.41e-06/0.9899, allocations: 0 / 0.7815 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of matching and sorting (n=95): time 0.007877/0.9978, allocations: 2.462 MB / 0.7839 GB, free: 8.379 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.9979, allocations: 60.41 kB / 0.784 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.9994, allocations: 1.201 MB / 0.7851 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.9995, allocations: 49.69 kB / 0.7852 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/0.9999, allocations: 0.537 MB / 0.7857 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/1, allocations: 334.6 kB / 0.786 GB, free: 6.176 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003361/1.001, allocations: 193.4 kB / 0.7862 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.001, allocations: 341.9 kB / 0.7865 GB, free: 5.645 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002173/1.003, allocations: 0.6928 MB / 0.7872 GB, free: 4.953 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00234/1.005, allocations: 0.9115 MB / 0.7881 GB, free: 3.98 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004279/1.01, allocations: 1.557 MB / 0.7896 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/1.01, allocations: 0 / 0.7896 GB, free: 2.391 MB / 0.5261 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005266/1.015, allocations: 1.777 MB / 0.7914 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/1.015, allocations: 8 kB / 0.7914 GB, free: 0.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/1.015, allocations: 4 kB / 0.7914 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-05/1.015, allocations: 8 kB / 0.7914 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/1.017, allocations: 341.6 kB / 0.7917 GB, free: 300 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/1.017, allocations: 14.89 kB / 0.7917 GB, free: 288 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/1.019, allocations: 250.7 kB / 0.792 GB, free: 36 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/1.019, allocations: 51.91 kB / 0.792 GB, free: 15.98 MB / 0.5417 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.0006966/1.02, allocations: 331.7 kB / 0.7923 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002598/1.02, allocations: 138.3 kB / 0.7925 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005308/1.025, allocations: 1.802 MB / 0.7942 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.576e-05/1.025, allocations: 11.94 kB / 0.7942 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.025, allocations: 0 / 0.7942 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/1.025, allocations: 3.984 kB / 0.7942 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008283/1.034, allocations: 3.327 MB / 0.7975 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.875e-05/1.034, allocations: 8 kB / 0.7975 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/1.036, allocations: 295.3 kB / 0.7978 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.08e-05/1.036, allocations: 4 kB / 0.7978 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/1.036, allocations: 35.97 kB / 0.7978 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.965e-05/1.036, allocations: 10.84 kB / 0.7978 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.778e-06/1.036, allocations: 8 kB / 0.7978 GB, free: 10 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/1.05, allocations: 6.763 MB / 0.8044 GB, free: 2.918 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006178/1.051, allocations: 319.2 kB / 0.8047 GB, free: 2.586 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/1.051, allocations: 24 kB / 0.8048 GB, free: 2.562 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.052, allocations: 174 kB / 0.8049 GB, free: 2.395 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/1.053, allocations: 71.42 kB / 0.805 GB, free: 2.328 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/1.053, allocations: 39.97 kB / 0.805 GB, free: 2.289 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001235/1.054, allocations: 0.8344 MB / 0.8058 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.1e-07/1.054, allocations: 0 / 0.8058 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001551/1.056, allocations: 439.5 kB / 0.8063 GB, free: 1.023 MB / 0.5417 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.001536/1.057, allocations: 0.5298 MB / 0.8068 GB, free: 0.668 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00493/1.062, allocations: 1.623 MB / 0.8084 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/1.062, allocations: 0 / 0.8084 GB, free: 15.07 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002346/1.064, allocations: 0.8425 MB / 0.8092 GB, free: 14.26 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/1.067, allocations: 0.5891 MB / 0.8098 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006728/1.074, allocations: 3.897 MB / 0.8136 GB, free: 9.699 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000766/1.075, allocations: 1.216 MB / 0.8148 GB, free: 8.457 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001763/1.077, allocations: 373.9 kB / 0.8151 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004492/1.077, allocations: 115.4 kB / 0.8152 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of SimCode: time 1.202e-06/1.077, allocations: 0 / 0.8152 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of Templates: time 0.03955/1.117, allocations: 23.53 MB / 0.8382 GB, free: 0.7461 MB / 0.573 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)