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.0009646/0.0009646, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001007/0.001007, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001752/0.001752, allocations: 266.9 kB / 291.3 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9453/0.9453, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000399/0.000399, allocations: 14.53 kB / 0.598 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1372, allocations: 88.54 MB / 0.6845 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4362/0.5734, allocations: 176.3 MB / 0.8567 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007603/0.5811, allocations: 4.891 MB / 0.8614 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009063/0.582, allocations: 41.5 kB / 0.8615 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.5834, allocations: 0.6172 MB / 0.8621 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004355/0.5878, allocations: 1.893 MB / 0.8639 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002188/0.59, allocations: 0.8991 MB / 0.8648 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003069/0.5931, allocations: 3.01 MB / 0.8677 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009895/0.5941, allocations: 0.7294 MB / 0.8685 GB, free: 244 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.5956, allocations: 0.9942 MB / 0.8694 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.5966, allocations: 0.9211 MB / 0.8703 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001056/0.5967, allocations: 43.53 kB / 0.8704 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.5989, allocations: 0.9318 MB / 0.8713 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003635/0.5993, allocations: 393.8 kB / 0.8717 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000247/0.5995, allocations: 264.1 kB / 0.8719 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001363/0.6009, allocations: 1.348 MB / 0.8732 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.6009, allocations: 0 / 0.8732 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.413e-06/0.6009, allocations: 0 / 0.8732 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.89e-05/0.6009, allocations: 4 kB / 0.8732 GB, free: 13.54 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.004265/0.6052, allocations: 1.69 MB / 0.8749 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6053, allocations: 7.938 kB / 0.8749 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003629/0.6089, allocations: 0.7023 MB / 0.8756 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.6102, allocations: 0.8401 MB / 0.8764 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.794e-05/0.6103, allocations: 65.5 kB / 0.8765 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001471/0.6104, allocations: 88.09 kB / 0.8765 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002896/0.6133, allocations: 1.479 MB / 0.878 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.6134, allocations: 11.89 kB / 0.878 GB, free: 10.03 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.6135, allocations: 32 kB / 0.878 GB, free: 10 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-05/0.6135, allocations: 53.97 kB / 0.8781 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003785/0.6173, allocations: 1.53 MB / 0.8796 GB, free: 8.414 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.00663/0.624, allocations: 5.507 MB / 0.8849 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003369/0.6274, allocations: 1.312 MB / 0.8862 GB, free: 1.305 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.6289, allocations: 0.6631 MB / 0.8869 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008148/0.6298, allocations: 0.5968 MB / 0.8875 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00171/0.6315, allocations: 0.7147 MB / 0.8882 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.624e-06/0.6315, allocations: 0 / 0.8882 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005098/0.6366, allocations: 1.909 MB / 0.89 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.6367, allocations: 64.06 kB / 0.8901 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.638, allocations: 1.227 MB / 0.8913 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.329e-05/0.6381, allocations: 45.7 kB / 0.8913 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004386/0.6385, allocations: 0.583 MB / 0.8919 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002282/0.6388, allocations: 280.1 kB / 0.8922 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.186e-05/0.6389, allocations: 16 kB / 0.8922 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.639, allocations: 341.9 kB / 0.8925 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.6405, allocations: 0.5522 MB / 0.893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/0.6421, allocations: 0.8291 MB / 0.8938 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.6437, allocations: 0.5925 MB / 0.8944 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.742e-06/0.6437, allocations: 4 kB / 0.8944 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003496/0.6472, allocations: 1.51 MB / 0.8959 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.6472, allocations: 8.969 kB / 0.8959 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.6472, allocations: 9.562 kB / 0.8959 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.6473, allocations: 20 kB / 0.8959 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.6486, allocations: 299.5 kB / 0.8962 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.6487, allocations: 12 kB / 0.8962 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.6499, allocations: 230.6 kB / 0.8965 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-05/0.65, allocations: 47.98 kB / 0.8965 GB, free: 6.484 MB / 0.6075 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.0004557/0.6505, allocations: 339.7 kB / 0.8968 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001623/0.6506, allocations: 134.3 kB / 0.897 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003603/0.6542, allocations: 1.431 MB / 0.8984 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.6543, allocations: 11.94 kB / 0.8984 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6543, allocations: 4 kB / 0.8984 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.6543, allocations: 3.984 kB / 0.8984 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005311/0.6596, allocations: 2.818 MB / 0.9011 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.6596, allocations: 4 kB / 0.9011 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/0.6608, allocations: 232.1 kB / 0.9014 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/0.6608, allocations: 8 kB / 0.9014 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.968e-05/0.6609, allocations: 31.97 kB / 0.9014 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.156e-06/0.6609, allocations: 8 kB / 0.9014 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.562e-06/0.6609, allocations: 11.89 kB / 0.9014 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004976/0.6659, allocations: 2.279 MB / 0.9036 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004171/0.6663, allocations: 299.2 kB / 0.9039 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001753/0.6665, allocations: 23.98 kB / 0.9039 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/0.6676, allocations: 135.7 kB / 0.9041 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.6677, allocations: 72.38 kB / 0.9041 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.229e-05/0.6678, allocations: 35.97 kB / 0.9042 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009817/0.6688, allocations: 0.8444 MB / 0.905 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6688, allocations: 0 / 0.905 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009532/0.6698, allocations: 311.7 kB / 0.9053 GB, free: 13.27 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 (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.001218/0.671, allocations: 0.5379 MB / 0.9058 GB, free: 12.9 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003288/0.6743, allocations: 1.298 MB / 0.9071 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.6743, allocations: 0 / 0.9071 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001647/0.676, allocations: 0.6521 MB / 0.9077 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/0.6785, allocations: 0.5649 MB / 0.9083 GB, free: 10.38 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004859/0.6834, allocations: 2.938 MB / 0.9111 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000722/0.6841, allocations: 1.179 MB / 0.9123 GB, free: 6.156 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001372/0.6855, allocations: 333.9 kB / 0.9126 GB, free: 5.828 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003704/0.6859, allocations: 111.4 kB / 0.9127 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of SimCode: time 7.51e-07/0.6859, allocations: 0 / 0.9127 GB, free: 5.719 MB / 0.6231 GB Notification: Performance of Templates: time 0.03136/0.7172, allocations: 20.52 MB / 0.9328 GB, free: 1.527 MB / 0.6387 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)