Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 119.3 kB / 17.09 MB, free: 6.012 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.001167/0.001167, allocations: 195 kB / 18.02 MB, free: 5.094 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.363/1.363, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7597/0.7597, allocations: 115.3 MB / 407.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 71.97 kB / 0.5584 GB, free: 32.13 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1568, allocations: 76.17 MB / 0.6328 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5596/0.7164, allocations: 193.8 MB / 0.822 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009112/0.7256, allocations: 5.148 MB / 0.827 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.7272, allocations: 45.28 kB / 0.8271 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.7293, allocations: 0.8143 MB / 0.8279 GB, free: 7.062 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006807/0.7361, allocations: 2.604 MB / 0.8304 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002984/0.7391, allocations: 1.1 MB / 0.8315 GB, free: 4.797 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003806/0.7429, allocations: 2.623 MB / 0.8341 GB, free: 3.398 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001649/0.7446, allocations: 0.8902 MB / 0.8349 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002282/0.7469, allocations: 1.104 MB / 0.836 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001773/0.7487, allocations: 0.9555 MB / 0.8369 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003093/0.749, allocations: 77.28 kB / 0.837 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004297/0.7533, allocations: 1.779 MB / 0.8388 GB, free: 1.082 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007319/0.7541, allocations: 436.9 kB / 0.8392 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00125/0.7553, allocations: 0.6421 MB / 0.8398 GB, free: 404 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004546/0.7599, allocations: 2.153 MB / 0.8419 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.7599, allocations: 0 / 0.8419 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7599, allocations: 0 / 0.8419 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.084e-05/0.76, allocations: 0 / 0.8419 GB, free: 15.2 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005203/0.7652, allocations: 1.932 MB / 0.8438 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.7652, allocations: 7.75 kB / 0.8438 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003921/0.7692, allocations: 0.6571 MB / 0.8444 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.7708, allocations: 0.9539 MB / 0.8454 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/0.7708, allocations: 61.28 kB / 0.8454 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.771, allocations: 90.38 kB / 0.8455 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003002/0.774, allocations: 1.472 MB / 0.847 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.774, allocations: 2.562 kB / 0.847 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001087/0.7742, allocations: 35.56 kB / 0.847 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/0.7742, allocations: 50.2 kB / 0.847 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003952/0.7782, allocations: 1.515 MB / 0.8485 GB, free: 10.61 MB / 0.6075 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.007309/0.7855, allocations: 5.494 MB / 0.8539 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003762/0.7893, allocations: 1.277 MB / 0.8551 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/0.791, allocations: 0.6541 MB / 0.8558 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009182/0.7919, allocations: 0.5863 MB / 0.8563 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001888/0.7938, allocations: 0.7136 MB / 0.857 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.965e-06/0.7938, allocations: 0 / 0.857 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005688/0.7995, allocations: 1.88 MB / 0.8589 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.286e-05/0.7996, allocations: 60.06 kB / 0.8589 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.8013, allocations: 1.239 MB / 0.8601 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.8014, allocations: 45.7 kB / 0.8602 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004729/0.8019, allocations: 0.5746 MB / 0.8607 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.8022, allocations: 273.2 kB / 0.861 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003119/0.8025, allocations: 190.5 kB / 0.8612 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.8027, allocations: 345.9 kB / 0.8615 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/0.8043, allocations: 0.5349 MB / 0.862 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.8063, allocations: 0.8174 MB / 0.8628 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003518/0.8098, allocations: 1.327 MB / 0.8641 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.8098, allocations: 0 / 0.8641 GB, free: 9.992 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004127/0.814, allocations: 1.493 MB / 0.8656 GB, free: 8.492 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.814, allocations: 16.09 kB / 0.8656 GB, free: 8.477 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/0.814, allocations: 10.44 kB / 0.8656 GB, free: 8.469 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.375e-05/0.8141, allocations: 12 kB / 0.8656 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.8155, allocations: 290.5 kB / 0.8659 GB, free: 8.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.358e-05/0.8156, allocations: 19.92 kB / 0.8659 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.817, allocations: 202.7 kB / 0.8661 GB, free: 7.957 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.8172, allocations: 43.98 kB / 0.8662 GB, free: 7.914 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0006148/0.8178, allocations: 339.7 kB / 0.8665 GB, free: 7.574 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/0.8181, allocations: 134.3 kB / 0.8666 GB, free: 7.441 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00405/0.8221, allocations: 1.411 MB / 0.868 GB, free: 6.023 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.8222, allocations: 8 kB / 0.868 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.8222, allocations: 0 / 0.868 GB, free: 6.016 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.8222, allocations: 3.984 kB / 0.868 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00614/0.8284, allocations: 2.792 MB / 0.8707 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.8284, allocations: 4 kB / 0.8707 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/0.8297, allocations: 231.2 kB / 0.871 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/0.8297, allocations: 15.94 kB / 0.871 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.364e-05/0.8298, allocations: 27.97 kB / 0.871 GB, free: 2.871 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.101e-05/0.8298, allocations: 4 kB / 0.871 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.393e-06/0.8298, allocations: 14.67 kB / 0.871 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00575/0.8356, allocations: 2.244 MB / 0.8732 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005673/0.8362, allocations: 299.3 kB / 0.8735 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002894/0.8365, allocations: 23.94 kB / 0.8735 GB, free: 224 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/0.8377, allocations: 111.9 kB / 0.8736 GB, free: 112 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001341/0.8378, allocations: 64.38 kB / 0.8737 GB, free: 48 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.938e-05/0.8379, allocations: 39.97 kB / 0.8737 GB, free: 8 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001226/0.8391, allocations: 0.8493 MB / 0.8745 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8391, allocations: 4 kB / 0.8745 GB, free: 15.15 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001176/0.8403, allocations: 315.6 kB / 0.8749 GB, free: 14.84 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.0013/0.8416, allocations: 0.5415 MB / 0.8754 GB, free: 14.48 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003941/0.8456, allocations: 1.293 MB / 0.8766 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.8456, allocations: 0 / 0.8766 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.8474, allocations: 0.6396 MB / 0.8773 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/0.8503, allocations: 0.5874 MB / 0.8778 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.8557, allocations: 2.625 MB / 0.8804 GB, free: 9.266 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008677/0.8566, allocations: 1.171 MB / 0.8815 GB, free: 8.062 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/0.8572, allocations: 127.4 kB / 0.8817 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of SimCode: time 4.31e-07/0.8572, allocations: 0 / 0.8817 GB, free: 7.938 MB / 0.6387 GB Notification: Performance of Templates: time 0.03111/0.8883, allocations: 20.49 MB / 0.9017 GB, free: 3.594 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)