Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004515/0.004515, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001107/0.001107, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.337/1.337, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002028/0.002028, allocations: 282.8 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9152/0.9152, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 91.86 kB / 0.6815 GB, free: 15.44 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1637, allocations: 86.98 MB / 0.7664 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5397/0.7034, allocations: 193.8 MB / 0.9557 GB, free: 0.8789 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008616/0.7121, allocations: 5.151 MB / 0.9607 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.7132, allocations: 47.69 kB / 0.9608 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.7151, allocations: 0.8315 MB / 0.9616 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005791/0.7209, allocations: 2.688 MB / 0.9642 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.7236, allocations: 1.112 MB / 0.9653 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003176/0.7268, allocations: 2.613 MB / 0.9678 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.7279, allocations: 0.8806 MB / 0.9687 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.7296, allocations: 1.129 MB / 0.9698 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.7306, allocations: 0.9612 MB / 0.9707 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.7307, allocations: 80 kB / 0.9708 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002939/0.7337, allocations: 1.789 MB / 0.9726 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003713/0.7341, allocations: 450.6 kB / 0.973 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005648/0.7346, allocations: 0.6414 MB / 0.9736 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002698/0.7373, allocations: 2.189 MB / 0.9757 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.7374, allocations: 0 / 0.9757 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7374, allocations: 0 / 0.9757 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.036e-05/0.7374, allocations: 0 / 0.9757 GB, free: 12.27 MB / 0.7325 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.004633/0.742, allocations: 1.934 MB / 0.9776 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.7421, allocations: 12.03 kB / 0.9776 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004117/0.7462, allocations: 0.7043 MB / 0.9783 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/0.7478, allocations: 0.9525 MB / 0.9793 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.393e-05/0.7479, allocations: 66 kB / 0.9793 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/0.7481, allocations: 92 kB / 0.9794 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003153/0.7512, allocations: 1.465 MB / 0.9808 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.252e-05/0.7513, allocations: 3.938 kB / 0.9809 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.7514, allocations: 36 kB / 0.9809 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.266e-05/0.7514, allocations: 49.98 kB / 0.9809 GB, free: 6.789 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003902/0.7554, allocations: 1.557 MB / 0.9825 GB, free: 5.23 MB / 0.7325 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.006281/0.7616, allocations: 5.018 MB / 0.9874 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003225/0.7649, allocations: 1.181 MB / 0.9885 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.7666, allocations: 0.6668 MB / 0.9892 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001206/0.7679, allocations: 0.9448 MB / 0.9901 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001838/0.7697, allocations: 0.7225 MB / 0.9908 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=82): time 3.517e-06/0.7697, allocations: 0 / 0.9908 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82): time 0.005835/0.7756, allocations: 1.952 MB / 0.9927 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.7756, allocations: 60.06 kB / 0.9928 GB, free: 10.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/0.7771, allocations: 1.272 MB / 0.994 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.734e-05/0.7772, allocations: 45.7 kB / 0.994 GB, free: 8.867 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004408/0.7776, allocations: 0.5677 MB / 0.9946 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.7779, allocations: 280 kB / 0.9949 GB, free: 8.016 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002916/0.7782, allocations: 182.5 kB / 0.995 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.7783, allocations: 349.9 kB / 0.9954 GB, free: 7.484 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001584/0.7799, allocations: 0.5484 MB / 0.9959 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.7817, allocations: 0.8247 MB / 0.9967 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003317/0.785, allocations: 1.328 MB / 0.998 GB, free: 4.59 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.7851, allocations: 4.094 kB / 0.998 GB, free: 4.586 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00393/0.789, allocations: 1.523 MB / 0.9995 GB, free: 3.051 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.789, allocations: 12.16 kB / 0.9995 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.7891, allocations: 8 kB / 0.9995 GB, free: 3.031 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/0.7891, allocations: 12 kB / 0.9995 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.7905, allocations: 287.6 kB / 0.9998 GB, free: 2.738 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-05/0.7905, allocations: 19.92 kB / 0.9998 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001296/0.7918, allocations: 202.7 kB / 1 GB, free: 2.52 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.75e-05/0.7919, allocations: 47.97 kB / 1 GB, free: 2.473 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0005629/0.7925, allocations: 344.2 kB / 1 GB, free: 2.129 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.7927, allocations: 138.3 kB / 1.001 GB, free: 1.992 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003909/0.7966, allocations: 1.446 MB / 1.002 GB, free: 0.5391 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.7966, allocations: 8 kB / 1.002 GB, free: 0.5312 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.7966, allocations: 7.062 kB / 1.002 GB, free: 0.5273 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.777e-06/0.7967, allocations: 3.984 kB / 1.002 GB, free: 0.5234 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005804/0.8025, allocations: 2.861 MB / 1.005 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.8025, allocations: 4 kB / 1.005 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.8037, allocations: 228.2 kB / 1.005 GB, free: 13.33 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.407e-06/0.8038, allocations: 11.94 kB / 1.005 GB, free: 13.32 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.181e-05/0.8038, allocations: 27.97 kB / 1.005 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.557e-06/0.8039, allocations: 8 kB / 1.005 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.8039, allocations: 4 kB / 1.005 GB, free: 13.28 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005625/0.8095, allocations: 2.314 MB / 1.007 GB, free: 10.9 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000545/0.8101, allocations: 307.1 kB / 1.008 GB, free: 10.58 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.8102, allocations: 20 kB / 1.008 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.8113, allocations: 107.9 kB / 1.008 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.8114, allocations: 64.38 kB / 1.008 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.264e-05/0.8115, allocations: 39.97 kB / 1.008 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001101/0.8126, allocations: 0.8762 MB / 1.009 GB, free: 9.477 MB / 0.7637 GB Notification: Performance of sort global known variables: time 4.91e-07/0.8126, allocations: 0 / 1.009 GB, free: 9.477 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001007/0.8137, allocations: 307.8 kB / 1.009 GB, free: 9.176 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.001312/0.815, allocations: 0.537 MB / 1.009 GB, free: 8.809 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00364/0.8186, allocations: 1.312 MB / 1.011 GB, free: 7.496 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8186, allocations: 0 / 1.011 GB, free: 7.496 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001774/0.8204, allocations: 0.6638 MB / 1.011 GB, free: 6.832 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/0.823, allocations: 0.6295 MB / 1.012 GB, free: 6.211 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004574/0.8276, allocations: 2.558 MB / 1.015 GB, free: 3.574 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007429/0.8284, allocations: 1.173 MB / 1.016 GB, free: 2.375 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001105/0.8295, allocations: 350.2 kB / 1.016 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003822/0.8299, allocations: 111.4 kB / 1.016 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of SimCode: time 8.02e-07/0.8299, allocations: 0 / 1.016 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of Templates: time 0.03696/0.8669, allocations: 23.31 MB / 1.039 GB, free: 10.98 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)