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.0008223/0.0008221, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009175/0.0009175, allocations: 173.4 kB / 16.58 MB, free: 6.469 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.371/1.371, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.725/0.725, allocations: 115.5 MB / 407.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003145/0.0003146, allocations: 12 kB / 495.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1292, allocations: 77.52 MB / 0.5593 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4274/0.5566, allocations: 176.3 MB / 0.7315 GB, free: 6.965 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008271/0.5649, allocations: 4.88 MB / 0.7363 GB, free: 2.078 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008607/0.5658, allocations: 39.69 kB / 0.7363 GB, free: 2.039 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.5673, allocations: 0.6218 MB / 0.7369 GB, free: 1.414 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004467/0.5718, allocations: 1.882 MB / 0.7387 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.574, allocations: 0.9028 MB / 0.7396 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00318/0.5772, allocations: 3.019 MB / 0.7426 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.5784, allocations: 0.7336 MB / 0.7433 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001555/0.5799, allocations: 0.9804 MB / 0.7443 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.5811, allocations: 0.9185 MB / 0.7451 GB, free: 8.945 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.5812, allocations: 44 kB / 0.7452 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.5834, allocations: 0.9314 MB / 0.7461 GB, free: 7.969 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003855/0.5838, allocations: 394.7 kB / 0.7465 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.584, allocations: 269 kB / 0.7467 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001538/0.5856, allocations: 1.341 MB / 0.748 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.5856, allocations: 4 kB / 0.748 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.513e-06/0.5856, allocations: 0 / 0.748 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.71e-05/0.5856, allocations: 0 / 0.748 GB, free: 5.965 MB / 0.5606 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.004347/0.59, allocations: 1.685 MB / 0.7497 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.59, allocations: 19.97 kB / 0.7497 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003633/0.5937, allocations: 0.7006 MB / 0.7504 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.595, allocations: 0.8444 MB / 0.7512 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.442e-05/0.5951, allocations: 62 kB / 0.7513 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/0.5953, allocations: 91.98 kB / 0.7514 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003074/0.5983, allocations: 1.482 MB / 0.7528 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.5984, allocations: 3.938 kB / 0.7528 GB, free: 0.8945 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.5985, allocations: 40 kB / 0.7529 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-05/0.5986, allocations: 41.98 kB / 0.7529 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003888/0.6025, allocations: 1.545 MB / 0.7544 GB, free: 15.27 MB / 0.5762 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.00676/0.6092, allocations: 5.506 MB / 0.7598 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003401/0.6127, allocations: 1.315 MB / 0.7611 GB, free: 8.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.6142, allocations: 0.6676 MB / 0.7617 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008355/0.6151, allocations: 0.5968 MB / 0.7623 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00171/0.6168, allocations: 0.7111 MB / 0.763 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=80): time 4.218e-06/0.6168, allocations: 0 / 0.763 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80): time 0.005181/0.622, allocations: 1.909 MB / 0.7649 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.6221, allocations: 64.05 kB / 0.7649 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.6235, allocations: 1.227 MB / 0.7661 GB, free: 2.832 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.786e-05/0.6236, allocations: 45.7 kB / 0.7662 GB, free: 2.781 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004491/0.624, allocations: 0.5791 MB / 0.7667 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.6243, allocations: 280.1 kB / 0.767 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.6243, allocations: 20 kB / 0.767 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.6245, allocations: 337.9 kB / 0.7673 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/0.626, allocations: 0.5484 MB / 0.7679 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001697/0.6277, allocations: 0.8291 MB / 0.7687 GB, free: 84 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.6293, allocations: 0.5925 MB / 0.7693 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.6293, allocations: 0 / 0.7693 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003639/0.6329, allocations: 1.506 MB / 0.7707 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.633, allocations: 17.83 kB / 0.7707 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.633, allocations: 8.859 kB / 0.7708 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/0.633, allocations: 16.78 kB / 0.7708 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001362/0.6344, allocations: 303.5 kB / 0.7711 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.239e-05/0.6344, allocations: 23.91 kB / 0.7711 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.6357, allocations: 222.8 kB / 0.7713 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.6358, allocations: 51.97 kB / 0.7713 GB, free: 13.34 MB / 0.5919 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005008/0.6363, allocations: 342.1 kB / 0.7717 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.6365, allocations: 134.3 kB / 0.7718 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003696/0.6402, allocations: 1.424 MB / 0.7732 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.6402, allocations: 8.094 kB / 0.7732 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.6402, allocations: 7.938 kB / 0.7732 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.6402, allocations: 3.984 kB / 0.7732 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00548/0.6457, allocations: 2.815 MB / 0.776 GB, free: 8.504 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.6458, allocations: 7.953 kB / 0.776 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.6469, allocations: 232.2 kB / 0.7762 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.647, allocations: 8 kB / 0.7762 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.861e-05/0.647, allocations: 27.97 kB / 0.7762 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.6471, allocations: 8 kB / 0.7762 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.6471, allocations: 7.938 kB / 0.7762 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005094/0.6522, allocations: 2.275 MB / 0.7785 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/0.6526, allocations: 307.2 kB / 0.7788 GB, free: 5.559 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001764/0.6528, allocations: 20 kB / 0.7788 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/0.6539, allocations: 143.7 kB / 0.7789 GB, free: 5.398 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.654, allocations: 64.38 kB / 0.779 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.888e-05/0.6541, allocations: 39.97 kB / 0.779 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001013/0.6552, allocations: 0.8444 MB / 0.7798 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6552, allocations: 0 / 0.7798 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001005/0.6562, allocations: 319.6 kB / 0.7801 GB, free: 4.133 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001214/0.6574, allocations: 0.5188 MB / 0.7806 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003362/0.6608, allocations: 1.294 MB / 0.7819 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6608, allocations: 256 / 0.7819 GB, free: 2.504 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001688/0.6625, allocations: 0.6558 MB / 0.7825 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/0.6652, allocations: 0.5609 MB / 0.7831 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005312/0.6705, allocations: 2.943 MB / 0.786 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008038/0.6713, allocations: 1.167 MB / 0.7871 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001486/0.6728, allocations: 345.9 kB / 0.7874 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003783/0.6732, allocations: 111.4 kB / 0.7875 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of SimCode: time 6.81e-07/0.6732, allocations: 0 / 0.7875 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of Templates: time 0.0341/0.7073, allocations: 20.51 MB / 0.8076 GB, free: 8.391 MB / 0.6231 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)