Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001401/0.001401, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001523/0.001523, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.378/1.378, allocations: 222.9 MB / 239.9 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002176/0.002176, allocations: 282.9 kB / 290.4 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9421/0.9421, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001654/0.001654, allocations: 97.41 kB / 0.5947 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.169, allocations: 86.98 MB / 0.6796 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5091/0.6781, allocations: 191.3 MB / 0.8664 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008963/0.6871, allocations: 5.106 MB / 0.8714 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001915/0.6891, allocations: 45.09 kB / 0.8715 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002167/0.6913, allocations: 0.7353 MB / 0.8722 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008016/0.6993, allocations: 2.445 MB / 0.8746 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003155/0.7025, allocations: 1.019 MB / 0.8756 GB, free: 8.559 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003553/0.7061, allocations: 2.623 MB / 0.8781 GB, free: 7.078 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.7076, allocations: 0.8987 MB / 0.879 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.7098, allocations: 1.115 MB / 0.8801 GB, free: 5.898 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.7112, allocations: 1.007 MB / 0.8811 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001479/0.7114, allocations: 78.03 kB / 0.8812 GB, free: 5.344 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003732/0.7151, allocations: 1.85 MB / 0.883 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004812/0.7156, allocations: 434.7 kB / 0.8834 GB, free: 4.023 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000763/0.7164, allocations: 0.6512 MB / 0.884 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004018/0.7204, allocations: 2.258 MB / 0.8862 GB, free: 2.203 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7204, allocations: 4 kB / 0.8862 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7204, allocations: 0 / 0.8862 GB, free: 2.199 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.722e-05/0.7205, allocations: 0 / 0.8862 GB, free: 2.199 MB / 0.5919 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.005369/0.7258, allocations: 1.929 MB / 0.8881 GB, free: 0.7617 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.7259, allocations: 14.38 kB / 0.8881 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004019/0.7299, allocations: 0.662 MB / 0.8888 GB, free: 464 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/0.7313, allocations: 0.8862 MB / 0.8896 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.055e-05/0.7314, allocations: 68.12 kB / 0.8897 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.7316, allocations: 85.53 kB / 0.8898 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003121/0.7347, allocations: 1.475 MB / 0.8912 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/0.7347, allocations: 2.188 kB / 0.8912 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.7348, allocations: 34.09 kB / 0.8913 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/0.7349, allocations: 51.14 kB / 0.8913 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003894/0.7388, allocations: 1.51 MB / 0.8928 GB, free: 13.38 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.008386/0.7472, allocations: 5.491 MB / 0.8981 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00364/0.7509, allocations: 1.295 MB / 0.8994 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.7525, allocations: 0.6513 MB / 0.9 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009148/0.7534, allocations: 0.5851 MB / 0.9006 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001872/0.7553, allocations: 0.7068 MB / 0.9013 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 3.427e-06/0.7553, allocations: 0 / 0.9013 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005496/0.7608, allocations: 1.874 MB / 0.9031 GB, free: 2.359 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.7609, allocations: 60.06 kB / 0.9032 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.7624, allocations: 1.246 MB / 0.9044 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.786e-05/0.7625, allocations: 41.7 kB / 0.9044 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/0.763, allocations: 0.5753 MB / 0.905 GB, free: 416 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002407/0.7632, allocations: 280.1 kB / 0.9053 GB, free: 132 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003145/0.7636, allocations: 182.5 kB / 0.9055 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.7637, allocations: 337.9 kB / 0.9058 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.7653, allocations: 0.5444 MB / 0.9063 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001748/0.767, allocations: 0.8219 MB / 0.9071 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/0.7703, allocations: 1.324 MB / 0.9084 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.7703, allocations: 8 kB / 0.9084 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003906/0.7742, allocations: 1.483 MB / 0.9099 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.7743, allocations: 13.81 kB / 0.9099 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.7743, allocations: 9.812 kB / 0.9099 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.7743, allocations: 12 kB / 0.9099 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.7758, allocations: 295.7 kB / 0.9102 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/0.7758, allocations: 19.94 kB / 0.9102 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.7774, allocations: 218.7 kB / 0.9104 GB, free: 10.65 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.7775, allocations: 51.97 kB / 0.9105 GB, free: 10.6 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.0005414/0.778, allocations: 336.4 kB / 0.9108 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00028/0.7783, allocations: 134.2 kB / 0.9109 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003935/0.7823, allocations: 1.412 MB / 0.9123 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.67e-05/0.7823, allocations: 10.31 kB / 0.9123 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.7823, allocations: 0 / 0.9123 GB, free: 8.699 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.7823, allocations: 3.984 kB / 0.9123 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005884/0.7882, allocations: 2.811 MB / 0.915 GB, free: 5.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.7882, allocations: 4 kB / 0.915 GB, free: 5.777 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.7895, allocations: 216 kB / 0.9152 GB, free: 5.566 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.401e-05/0.7895, allocations: 11.92 kB / 0.9153 GB, free: 5.555 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.299e-05/0.7896, allocations: 23.98 kB / 0.9153 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/0.7897, allocations: 19.92 kB / 0.9153 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.7897, allocations: 4 kB / 0.9153 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005457/0.7951, allocations: 2.244 MB / 0.9175 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005367/0.7957, allocations: 295.2 kB / 0.9178 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/0.7959, allocations: 27.98 kB / 0.9178 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.7972, allocations: 123.9 kB / 0.9179 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.7974, allocations: 68.3 kB / 0.918 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.629e-05/0.7975, allocations: 39.97 kB / 0.918 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001058/0.7985, allocations: 0.8522 MB / 0.9189 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.4e-07/0.7986, allocations: 0 / 0.9189 GB, free: 1.785 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001199/0.7998, allocations: 319.6 kB / 0.9192 GB, free: 1.473 MB / 0.6231 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.001377/0.8011, allocations: 0.5437 MB / 0.9197 GB, free: 1.102 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003984/0.8051, allocations: 1.404 MB / 0.9211 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.8052, allocations: 0 / 0.9211 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.8069, allocations: 0.6482 MB / 0.9217 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002875/0.8098, allocations: 0.5778 MB / 0.9223 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005703/0.8155, allocations: 2.984 MB / 0.9252 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008777/0.8164, allocations: 1.175 MB / 0.9263 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001602/0.818, allocations: 349.9 kB / 0.9267 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004282/0.8185, allocations: 111.4 kB / 0.9268 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of SimCode: time 9.41e-07/0.8185, allocations: 0 / 0.9268 GB, free: 9.754 MB / 0.6387 GB Notification: Performance of Templates: time 0.03677/0.8553, allocations: 22.02 MB / 0.9483 GB, free: 4.082 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)