Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 119.1 kB / 16.37 MB, free: 5.984 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.00116/0.00116, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.292/1.292, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002119/0.002119, allocations: 288.4 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9238/0.9238, allocations: 169.3 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002998/0.002998, allocations: 99.08 kB / 0.5967 GB, free: 14.47 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1782, allocations: 86.96 MB / 0.6816 GB, free: 7.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4615/0.6398, allocations: 193.8 MB / 0.8709 GB, free: 12.63 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008304/0.6481, allocations: 5.147 MB / 0.8759 GB, free: 7.477 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009832/0.6491, allocations: 47.69 kB / 0.8759 GB, free: 7.43 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.6508, allocations: 0.8081 MB / 0.8767 GB, free: 6.617 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005401/0.6562, allocations: 2.607 MB / 0.8793 GB, free: 4 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002444/0.6587, allocations: 1.107 MB / 0.8803 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003038/0.6617, allocations: 2.687 MB / 0.883 GB, free: 216 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.663, allocations: 0.9444 MB / 0.8839 GB, free: 15.25 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001794/0.6649, allocations: 1.101 MB / 0.885 GB, free: 14.15 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.666, allocations: 0.9885 MB / 0.8859 GB, free: 13.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.6662, allocations: 88 kB / 0.886 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003276/0.6695, allocations: 1.8 MB / 0.8878 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004302/0.6699, allocations: 446.6 kB / 0.8882 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006571/0.6706, allocations: 0.6604 MB / 0.8888 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003043/0.6736, allocations: 2.224 MB / 0.891 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.6737, allocations: 0 / 0.891 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6737, allocations: 0 / 0.891 GB, free: 7.934 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.6737, allocations: 0 / 0.891 GB, free: 7.934 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.004842/0.6785, allocations: 1.961 MB / 0.8929 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.6786, allocations: 12.03 kB / 0.8929 GB, free: 5.902 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005482/0.6841, allocations: 0.8955 MB / 0.8938 GB, free: 5.004 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/0.6859, allocations: 0.9683 MB / 0.8948 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.9e-05/0.686, allocations: 73.98 kB / 0.8948 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.6861, allocations: 91.98 kB / 0.8949 GB, free: 3.816 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003626/0.6898, allocations: 1.579 MB / 0.8965 GB, free: 2.207 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.6898, allocations: 4 kB / 0.8965 GB, free: 2.203 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.6899, allocations: 35.98 kB / 0.8965 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.579e-05/0.69, allocations: 45.98 kB / 0.8965 GB, free: 2.121 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004849/0.6949, allocations: 1.85 MB / 0.8984 GB, free: 276 kB / 0.6544 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.00773/0.7026, allocations: 4.723 MB / 0.903 GB, free: 11.31 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004064/0.7067, allocations: 1.567 MB / 0.9045 GB, free: 9.734 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002182/0.7089, allocations: 0.8526 MB / 0.9053 GB, free: 8.883 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/0.7101, allocations: 0.9419 MB / 0.9063 GB, free: 7.758 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002398/0.7126, allocations: 0.9143 MB / 0.9071 GB, free: 6.828 MB / 0.67 GB Notification: Performance of pre-optimization done (n=95): time 3.236e-06/0.7126, allocations: 0 / 0.9071 GB, free: 6.828 MB / 0.67 GB Notification: Performance of matching and sorting (n=95): time 0.007423/0.72, allocations: 2.45 MB / 0.9095 GB, free: 4.375 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.7201, allocations: 60.41 kB / 0.9096 GB, free: 4.305 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.7215, allocations: 1.197 MB / 0.9108 GB, free: 3.098 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001144/0.7217, allocations: 49.7 kB / 0.9108 GB, free: 3.043 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004081/0.7221, allocations: 0.5447 MB / 0.9113 GB, free: 2.492 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.7224, allocations: 323.4 kB / 0.9117 GB, free: 2.172 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003441/0.7227, allocations: 190.5 kB / 0.9118 GB, free: 1.977 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.7228, allocations: 345.9 kB / 0.9122 GB, free: 1.633 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00209/0.7249, allocations: 0.7005 MB / 0.9128 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/0.7272, allocations: 0.9126 MB / 0.9137 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00423/0.7314, allocations: 1.546 MB / 0.9152 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.7314, allocations: 0 / 0.9152 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004947/0.7364, allocations: 1.791 MB / 0.917 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.7364, allocations: 11.94 kB / 0.917 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.7365, allocations: 4 kB / 0.917 GB, free: 12.53 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.7365, allocations: 8 kB / 0.917 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.7383, allocations: 340.8 kB / 0.9173 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.45e-05/0.7383, allocations: 15.92 kB / 0.9174 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.7399, allocations: 238.7 kB / 0.9176 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001252/0.74, allocations: 47.97 kB / 0.9176 GB, free: 11.9 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0005763/0.7406, allocations: 340.8 kB / 0.918 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002837/0.7409, allocations: 134.3 kB / 0.9181 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004977/0.7459, allocations: 1.799 MB / 0.9198 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.7459, allocations: 12 kB / 0.9199 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.7459, allocations: 0 / 0.9199 GB, free: 9.605 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.746, allocations: 3.984 kB / 0.9199 GB, free: 9.602 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007519/0.7535, allocations: 3.336 MB / 0.9231 GB, free: 6.164 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.285e-06/0.7535, allocations: 4 kB / 0.9231 GB, free: 6.16 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/0.7551, allocations: 292.1 kB / 0.9234 GB, free: 5.875 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/0.7552, allocations: 12 kB / 0.9234 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.7553, allocations: 35.97 kB / 0.9234 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-05/0.7553, allocations: 11.94 kB / 0.9235 GB, free: 5.816 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.7553, allocations: 4 kB / 0.9235 GB, free: 5.812 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007275/0.7626, allocations: 2.847 MB / 0.9262 GB, free: 2.898 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006871/0.7633, allocations: 327.2 kB / 0.9266 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/0.7636, allocations: 23.98 kB / 0.9266 GB, free: 2.535 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/0.765, allocations: 151.8 kB / 0.9267 GB, free: 2.387 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.7652, allocations: 76.45 kB / 0.9268 GB, free: 2.309 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.7653, allocations: 35.97 kB / 0.9268 GB, free: 2.273 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.00114/0.7665, allocations: 0.8353 MB / 0.9276 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7665, allocations: 0 / 0.9276 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001114/0.7676, allocations: 335.7 kB / 0.928 GB, free: 1.105 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.001432/0.769, allocations: 0.5473 MB / 0.9285 GB, free: 0.7227 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004809/0.7739, allocations: 1.634 MB / 0.9301 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.7739, allocations: 0 / 0.9301 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002333/0.7762, allocations: 0.84 MB / 0.9309 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.7788, allocations: 0.6084 MB / 0.9315 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006121/0.7849, allocations: 2.969 MB / 0.9344 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008485/0.7858, allocations: 1.187 MB / 0.9356 GB, free: 9.387 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001267/0.787, allocations: 362 kB / 0.9359 GB, free: 9.031 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004668/0.7875, allocations: 119.3 kB / 0.936 GB, free: 8.914 MB / 0.7012 GB Notification: Performance of SimCode: time 5.31e-07/0.7875, allocations: 0 / 0.936 GB, free: 8.914 MB / 0.7012 GB Notification: Performance of Templates: time 0.03969/0.8272, allocations: 23.75 MB / 0.9592 GB, free: 1.531 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)