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/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7978/0.7978, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 177.9 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.749/1.749, allocations: 205.4 MB / 426.3 MB, free: 8.449 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009271/0.0009272, allocations: 86.36 kB / 0.4945 GB, free: 8.398 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001774/0.001773, allocations: 269.2 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005297/0.0005298, allocations: 16 kB / 0.662 GB, free: 6.797 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4294, allocations: 79.29 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.558/4.988, allocations: 2.038 GB / 2.777 GB, free: 252.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/4.988, allocations: 92.84 kB / 2.777 GB, free: 252.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.919/7.907, allocations: 1.009 GB / 3.787 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.154e-06/7.907, allocations: 0 / 3.787 GB, free: 6.113 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001988/7.907, allocations: 47.92 kB / 3.787 GB, free: 6.066 MB / 0.6823 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.009938/7.917, allocations: 1.914 MB / 3.788 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.739e-05/7.917, allocations: 12.03 kB / 3.788 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00556/7.923, allocations: 0.6975 MB / 3.789 GB, free: 3.383 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/7.925, allocations: 1.068 MB / 3.79 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.784e-05/7.926, allocations: 74.36 kB / 3.79 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/7.926, allocations: 92.38 kB / 3.79 GB, free: 2.098 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/7.929, allocations: 1.469 MB / 3.792 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/7.929, allocations: 0 / 3.792 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/7.929, allocations: 43.98 kB / 3.792 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.122e-05/7.929, allocations: 41.98 kB / 3.792 GB, free: 484 kB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00381/7.933, allocations: 1.503 MB / 3.793 GB, free: 14.97 MB / 0.698 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.009015/7.942, allocations: 5.557 MB / 3.799 GB, free: 9.141 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003659/7.946, allocations: 1.311 MB / 3.8 GB, free: 7.816 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/7.947, allocations: 0.6634 MB / 3.801 GB, free: 7.145 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008428/7.948, allocations: 0.5812 MB / 3.801 GB, free: 6.453 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001757/7.95, allocations: 0.7224 MB / 3.802 GB, free: 5.719 MB / 0.698 GB Notification: Performance of pre-optimization done (n=80): time 3.186e-06/7.95, allocations: 0 / 3.802 GB, free: 5.719 MB / 0.698 GB Notification: Performance of matching and sorting (n=80): time 0.005572/7.955, allocations: 1.905 MB / 3.804 GB, free: 3.805 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/7.955, allocations: 64.05 kB / 3.804 GB, free: 3.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/7.957, allocations: 1.255 MB / 3.805 GB, free: 2.469 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/7.958, allocations: 45.7 kB / 3.805 GB, free: 2.418 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005344/7.958, allocations: 0.5987 MB / 3.806 GB, free: 1.812 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002672/7.958, allocations: 264.2 kB / 3.806 GB, free: 1.551 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/7.958, allocations: 20 kB / 3.806 GB, free: 1.531 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001394/7.959, allocations: 345.9 kB / 3.806 GB, free: 1.188 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/7.96, allocations: 0.5523 MB / 3.807 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3197/8.28, allocations: 0.8858 MB / 3.808 GB, free: 127.5 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003788/8.284, allocations: 1.356 MB / 3.809 GB, free: 127.3 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/8.284, allocations: 1.625 kB / 3.809 GB, free: 127.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004269/8.288, allocations: 1.528 MB / 3.811 GB, free: 127.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/8.288, allocations: 9.219 kB / 3.811 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/8.288, allocations: 9.109 kB / 3.811 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.253e-05/8.288, allocations: 12.88 kB / 3.811 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/8.29, allocations: 300.4 kB / 3.811 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.021e-05/8.29, allocations: 23.16 kB / 3.811 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/8.291, allocations: 231 kB / 3.811 GB, free: 127.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/8.291, allocations: 56.59 kB / 3.811 GB, free: 127.2 MB / 0.698 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.0007048/8.292, allocations: 340.4 kB / 3.811 GB, free: 127.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/8.292, allocations: 135.8 kB / 3.812 GB, free: 127.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003717/8.296, allocations: 1.489 MB / 3.813 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/8.296, allocations: 11.97 kB / 3.813 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/8.296, allocations: 3 kB / 3.813 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/8.296, allocations: 3.797 kB / 3.813 GB, free: 127 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006018/8.302, allocations: 2.952 MB / 3.816 GB, free: 126.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/8.302, allocations: 3.656 kB / 3.816 GB, free: 126.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001292/8.304, allocations: 233.1 kB / 3.816 GB, free: 126.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.436e-05/8.304, allocations: 7.469 kB / 3.816 GB, free: 126.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.806e-05/8.304, allocations: 36.03 kB / 3.816 GB, free: 126.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.66e-05/8.304, allocations: 9.812 kB / 3.816 GB, free: 126.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/8.304, allocations: 8.391 kB / 3.816 GB, free: 126.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005161/8.309, allocations: 2.345 MB / 3.819 GB, free: 126.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00072/8.31, allocations: 336.2 kB / 3.819 GB, free: 126.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002021/8.31, allocations: 29 kB / 3.819 GB, free: 126.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/8.311, allocations: 138.6 kB / 3.819 GB, free: 126.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/8.311, allocations: 75.3 kB / 3.819 GB, free: 126.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.065e-05/8.311, allocations: 33.03 kB / 3.819 GB, free: 126.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001118/8.312, allocations: 0.8636 MB / 3.82 GB, free: 125.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/8.312, allocations: 1.203 kB / 3.82 GB, free: 125.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001719/8.314, allocations: 0.4886 MB / 3.82 GB, free: 125.9 MB / 0.698 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 (86): * Single equations (assignments): 80 * 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.003049/8.317, allocations: 2.024 MB / 3.822 GB, free: 125.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003278/8.32, allocations: 1.322 MB / 3.824 GB, free: 125.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/8.321, allocations: 0 / 3.824 GB, free: 125.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001543/8.322, allocations: 0.6696 MB / 3.824 GB, free: 125.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003395/8.325, allocations: 0.5769 MB / 3.825 GB, free: 125.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/8.33, allocations: 3.008 MB / 3.828 GB, free: 124.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/8.331, allocations: 1.182 MB / 3.829 GB, free: 123.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001528/8.332, allocations: 357 kB / 3.829 GB, free: 123.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/8.333, allocations: 111.2 kB / 3.829 GB, free: 123.4 MB / 0.698 GB Notification: Performance of SimCode: time 9.22e-07/8.333, allocations: 0 / 3.829 GB, free: 123.4 MB / 0.698 GB Notification: Performance of Templates: time 0.05414/8.387, allocations: 41.97 MB / 3.87 GB, free: 122.1 MB / 0.698 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)