Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 114 kB / 17.07 MB, free: 6.074 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.001221/0.001221, allocations: 188.1 kB / 18.01 MB, free: 5.168 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.426/1.426, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8797/0.8797, allocations: 126.4 MB / 418.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 71.98 kB / 0.5742 GB, free: 27.1 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1463, allocations: 78.78 MB / 0.6511 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6129/0.7592, allocations: 239.9 MB / 0.8854 GB, free: 3.559 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01251/0.7717, allocations: 7.224 MB / 0.8925 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.7734, allocations: 51.69 kB / 0.8925 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00205/0.7755, allocations: 0.7299 MB / 0.8932 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00557/0.7811, allocations: 2.153 MB / 0.8953 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004976/0.7861, allocations: 2.063 MB / 0.8973 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005029/0.7911, allocations: 3.258 MB / 0.9005 GB, free: 4.062 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.793, allocations: 1.137 MB / 0.9016 GB, free: 2.906 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004783/0.7978, allocations: 2.133 MB / 0.9037 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.7997, allocations: 0.9547 MB / 0.9047 GB, free: 15.81 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001949/0.7999, allocations: 123.9 kB / 0.9048 GB, free: 15.69 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00465/0.8046, allocations: 2.475 MB / 0.9072 GB, free: 13.21 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005447/0.8051, allocations: 466.7 kB / 0.9076 GB, free: 12.75 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009107/0.8061, allocations: 0.7155 MB / 0.9083 GB, free: 12.03 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004571/0.8106, allocations: 2.691 MB / 0.911 GB, free: 9.332 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.8107, allocations: 3.938 kB / 0.911 GB, free: 9.328 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8107, allocations: 0 / 0.911 GB, free: 9.328 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.241e-05/0.8107, allocations: 8 kB / 0.911 GB, free: 9.32 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002991/0.8137, allocations: 1.757 MB / 0.9127 GB, free: 7.508 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.8137, allocations: 8.031 kB / 0.9127 GB, free: 7.5 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002661/0.8164, allocations: 427.6 kB / 0.9131 GB, free: 7.082 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.8182, allocations: 1.031 MB / 0.9141 GB, free: 6.008 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.8183, allocations: 66 kB / 0.9142 GB, free: 5.941 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/0.8184, allocations: 80 kB / 0.9142 GB, free: 5.863 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.8201, allocations: 0.8585 MB / 0.9151 GB, free: 5 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.8201, allocations: 4 kB / 0.9151 GB, free: 4.996 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.537e-05/0.8202, allocations: 32 kB / 0.9151 GB, free: 4.965 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.079e-05/0.8203, allocations: 34 kB / 0.9152 GB, free: 4.934 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001634/0.8219, allocations: 0.8041 MB / 0.9159 GB, free: 4.125 MB / 0.67 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.005092/0.827, allocations: 3.732 MB / 0.9196 GB, free: 88 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.8287, allocations: 1.104 MB / 0.9207 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006288/0.8293, allocations: 370.4 kB / 0.921 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007034/0.83, allocations: 404.9 kB / 0.9214 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.8301, allocations: 47.12 kB / 0.9214 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=60): time 2.355e-06/0.8301, allocations: 0 / 0.9214 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of matching and sorting (n=60): time 0.002222/0.8323, allocations: 0.9551 MB / 0.9224 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/0.8324, allocations: 63.91 kB / 0.9224 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001174/0.8336, allocations: 0.836 MB / 0.9233 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.8336, allocations: 41.7 kB / 0.9233 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004378/0.8341, allocations: 484.8 kB / 0.9238 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.8343, allocations: 222 kB / 0.924 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.8345, allocations: 110.2 kB / 0.9241 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.8347, allocations: 330 kB / 0.9244 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005192/0.8352, allocations: 259 kB / 0.9246 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006725/0.8359, allocations: 367.5 kB / 0.925 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/0.837, allocations: 0.5852 MB / 0.9256 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.837, allocations: 3.938 kB / 0.9256 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001411/0.8385, allocations: 0.7412 MB / 0.9263 GB, free: 8.902 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.8385, allocations: 4 kB / 0.9263 GB, free: 8.898 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.8385, allocations: 4.094 kB / 0.9263 GB, free: 8.895 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.8385, allocations: 8.062 kB / 0.9263 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005816/0.8391, allocations: 131.8 kB / 0.9264 GB, free: 8.758 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.8391, allocations: 7.938 kB / 0.9264 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007036/0.8398, allocations: 71.58 kB / 0.9265 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.728e-05/0.8399, allocations: 20 kB / 0.9265 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008475/0.8408, allocations: 0.4893 MB / 0.927 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006145/0.8414, allocations: 367.4 kB / 0.9274 GB, free: 7.773 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001122/0.8425, allocations: 0.5774 MB / 0.9279 GB, free: 7.18 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.513e-06/0.8425, allocations: 0 / 0.9279 GB, free: 7.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001468/0.844, allocations: 0.7326 MB / 0.9286 GB, free: 6.441 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.844, allocations: 4 kB / 0.9286 GB, free: 6.438 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.844, allocations: 4 kB / 0.9286 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.588e-06/0.8441, allocations: 0 / 0.9286 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.8446, allocations: 127.8 kB / 0.9288 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.8446, allocations: 4 kB / 0.9288 GB, free: 6.305 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007077/0.8453, allocations: 63.86 kB / 0.9288 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.8454, allocations: 20 kB / 0.9288 GB, free: 6.223 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0002712/0.8457, allocations: 231.3 kB / 0.9291 GB, free: 5.992 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000211/0.8459, allocations: 107.3 kB / 0.9292 GB, free: 5.887 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001591/0.8475, allocations: 0.738 MB / 0.9299 GB, free: 5.145 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/0.8475, allocations: 4 kB / 0.9299 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.8475, allocations: 4 kB / 0.9299 GB, free: 5.137 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00141/0.849, allocations: 0.8995 MB / 0.9308 GB, free: 4.152 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00363/0.8526, allocations: 2.247 MB / 0.933 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.8526, allocations: 0 / 0.933 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000664/0.8533, allocations: 140.2 kB / 0.9331 GB, free: 1.625 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.8533, allocations: 8 kB / 0.9331 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.295e-05/0.8534, allocations: 24 kB / 0.9331 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.207e-05/0.8534, allocations: 11.92 kB / 0.9331 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.8534, allocations: 4 kB / 0.9331 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002077/0.8555, allocations: 1.242 MB / 0.9344 GB, free: 288 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003838/0.8559, allocations: 256.4 kB / 0.9346 GB, free: 12 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.856, allocations: 16.05 kB / 0.9346 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006299/0.8566, allocations: 47.84 kB / 0.9347 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001221/0.8568, allocations: 52.25 kB / 0.9347 GB, free: 15.9 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.054e-05/0.8568, allocations: 24 kB / 0.9347 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008404/0.8577, allocations: 0.5823 MB / 0.9353 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8577, allocations: 0 / 0.9353 GB, free: 15.28 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001264/0.859, allocations: 0.5419 MB / 0.9358 GB, free: 14.74 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 60 * 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 Backend phase and start with SimCode phase: time 0.0005528/0.8595, allocations: 241.2 kB / 0.9361 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.001856/0.8614, allocations: 0.9466 MB / 0.937 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.8614, allocations: 0 / 0.937 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006242/0.862, allocations: 343.5 kB / 0.9373 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/0.8646, allocations: 0.5999 MB / 0.9379 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.8682, allocations: 2.161 MB / 0.94 GB, free: 10.39 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008618/0.869, allocations: 1.116 MB / 0.9411 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009759/0.87, allocations: 304.1 kB / 0.9414 GB, free: 8.949 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.8703, allocations: 83.42 kB / 0.9415 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of SimCode: time 6.91e-07/0.8703, allocations: 0 / 0.9415 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of Templates: time 0.03746/0.9077, allocations: 20.6 MB / 0.9616 GB, free: 4.547 MB / 0.7169 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)