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.001175/0.001175, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001299/0.001299, allocations: 193.3 kB / 16.13 MB, free: 6.707 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.366/1.366, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002059/0.002059, allocations: 287 kB / 290.2 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.022/1.022, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001607/0.001607, allocations: 93.16 kB / 0.5945 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1536, allocations: 86.98 MB / 0.6794 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.5082/0.6618, allocations: 191.5 MB / 0.8665 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008437/0.6703, allocations: 5.181 MB / 0.8715 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.6718, allocations: 44.91 kB / 0.8716 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00186/0.6737, allocations: 0.7115 MB / 0.8723 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006352/0.6801, allocations: 2.453 MB / 0.8747 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.6828, allocations: 0.9995 MB / 0.8757 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003678/0.6864, allocations: 3.542 MB / 0.8791 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.6876, allocations: 0.8213 MB / 0.8799 GB, free: 5.879 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001774/0.6894, allocations: 0.9981 MB / 0.8809 GB, free: 5.355 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001124/0.6906, allocations: 0.9939 MB / 0.8819 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.6907, allocations: 49.56 kB / 0.8819 GB, free: 4.812 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003479/0.6942, allocations: 2.071 MB / 0.8839 GB, free: 3.609 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004219/0.6946, allocations: 414.9 kB / 0.8843 GB, free: 3.348 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007275/0.6954, allocations: 0.6169 MB / 0.8849 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003349/0.6987, allocations: 2.217 MB / 0.8871 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6987, allocations: 0 / 0.8871 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of FrontEnd: time 8.02e-07/0.6987, allocations: 0 / 0.8871 GB, free: 1.578 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.821e-05/0.6988, allocations: 0 / 0.8871 GB, free: 1.578 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.005196/0.704, allocations: 1.929 MB / 0.889 GB, free: 148 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.704, allocations: 9.719 kB / 0.889 GB, free: 148 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004104/0.7081, allocations: 0.6624 MB / 0.8896 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001539/0.7097, allocations: 0.8863 MB / 0.8905 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.494e-05/0.7098, allocations: 71.98 kB / 0.8906 GB, free: 15.1 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.7099, allocations: 85.5 kB / 0.8907 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003107/0.713, allocations: 1.472 MB / 0.8921 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.7131, allocations: 7.938 kB / 0.8921 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001061/0.7132, allocations: 36 kB / 0.8921 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.537e-05/0.7133, allocations: 45.98 kB / 0.8922 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00407/0.7173, allocations: 1.514 MB / 0.8937 GB, free: 12.47 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.007748/0.7251, allocations: 5.487 MB / 0.899 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003658/0.7288, allocations: 1.284 MB / 0.9003 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.7304, allocations: 0.6474 MB / 0.9009 GB, free: 4.766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008776/0.7313, allocations: 0.5812 MB / 0.9015 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001895/0.7332, allocations: 0.7152 MB / 0.9022 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=80): time 2.865e-06/0.7332, allocations: 0 / 0.9022 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=80): time 0.005829/0.7391, allocations: 1.874 MB / 0.904 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.7392, allocations: 68.06 kB / 0.9041 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.7407, allocations: 1.239 MB / 0.9053 GB, free: 144 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.7408, allocations: 41.7 kB / 0.9053 GB, free: 96 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004772/0.7413, allocations: 0.5831 MB / 0.9059 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/0.7416, allocations: 272.1 kB / 0.9061 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003115/0.7419, allocations: 178.5 kB / 0.9063 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.742, allocations: 341.9 kB / 0.9066 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001652/0.7437, allocations: 0.5444 MB / 0.9072 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00182/0.7455, allocations: 0.8213 MB / 0.908 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003343/0.7489, allocations: 1.328 MB / 0.9093 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.7489, allocations: 4 kB / 0.9093 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003954/0.7529, allocations: 1.488 MB / 0.9107 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.7529, allocations: 11.94 kB / 0.9107 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.7529, allocations: 4 kB / 0.9107 GB, free: 10.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.7529, allocations: 16.81 kB / 0.9108 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.7545, allocations: 295.6 kB / 0.911 GB, free: 9.988 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.131e-05/0.7545, allocations: 15.94 kB / 0.9111 GB, free: 9.973 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.756, allocations: 214.7 kB / 0.9113 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.7561, allocations: 51.97 kB / 0.9113 GB, free: 9.711 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.0005496/0.7567, allocations: 343.7 kB / 0.9116 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002157/0.7569, allocations: 139.1 kB / 0.9118 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003838/0.7607, allocations: 1.405 MB / 0.9131 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.7608, allocations: 8 kB / 0.9131 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.7608, allocations: 3.984 kB / 0.9131 GB, free: 7.805 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.7608, allocations: 7.984 kB / 0.9132 GB, free: 7.797 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005833/0.7666, allocations: 2.803 MB / 0.9159 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.7667, allocations: 7.938 kB / 0.9159 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.768, allocations: 232.1 kB / 0.9161 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.768, allocations: 11.94 kB / 0.9161 GB, free: 4.645 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.982e-05/0.7681, allocations: 27.97 kB / 0.9162 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.7681, allocations: 4 kB / 0.9162 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.7681, allocations: 4 kB / 0.9162 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005484/0.7736, allocations: 2.252 MB / 0.9184 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005798/0.7742, allocations: 299.2 kB / 0.9187 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001915/0.7744, allocations: 16 kB / 0.9187 GB, free: 1.965 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.7755, allocations: 135.8 kB / 0.9188 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.7757, allocations: 64.36 kB / 0.9189 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.058e-05/0.7758, allocations: 35.97 kB / 0.9189 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001016/0.7768, allocations: 0.8561 MB / 0.9197 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7768, allocations: 0 / 0.9197 GB, free: 0.875 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009812/0.7778, allocations: 315.6 kB / 0.92 GB, free: 0.5664 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.001285/0.7791, allocations: 0.535 MB / 0.9206 GB, free: 196 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003838/0.7829, allocations: 1.283 MB / 0.9218 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.7829, allocations: 0 / 0.9218 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001771/0.7847, allocations: 0.6404 MB / 0.9224 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002741/0.7875, allocations: 0.553 MB / 0.923 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005237/0.7927, allocations: 2.99 MB / 0.9259 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007879/0.7935, allocations: 1.175 MB / 0.927 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001513/0.7951, allocations: 334 kB / 0.9274 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003944/0.7955, allocations: 107.4 kB / 0.9275 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of SimCode: time 5.61e-07/0.7955, allocations: 0 / 0.9275 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of Templates: time 0.03567/0.8312, allocations: 21.26 MB / 0.9482 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)