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.001015/0.001015, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001456, allocations: 173.9 kB / 16.58 MB, free: 6.402 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.404/1.404, allocations: 223.3 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7871/0.7871, allocations: 115.5 MB / 407.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004785, allocations: 12.66 kB / 495.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1907, allocations: 77.51 MB / 0.5593 GB, free: 9.465 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.5887/0.7795, allocations: 218.8 MB / 0.773 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01115/0.7907, allocations: 6.823 MB / 0.7796 GB, free: 5.613 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.7921, allocations: 43.69 kB / 0.7797 GB, free: 5.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.7935, allocations: 464.9 kB / 0.7801 GB, free: 5.113 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004097/0.7976, allocations: 1.531 MB / 0.7816 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004971/0.8026, allocations: 1.453 MB / 0.783 GB, free: 2.137 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005012/0.8076, allocations: 3.772 MB / 0.7867 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.8089, allocations: 0.8012 MB / 0.7875 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003012/0.8119, allocations: 1.435 MB / 0.7889 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00145/0.8134, allocations: 0.9142 MB / 0.7898 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.8135, allocations: 52 kB / 0.7899 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003396/0.8169, allocations: 1.387 MB / 0.7912 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003934/0.8173, allocations: 378.8 kB / 0.7916 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003235/0.8177, allocations: 289 kB / 0.7918 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.8197, allocations: 1.793 MB / 0.7936 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8198, allocations: 0 / 0.7936 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.665e-06/0.8198, allocations: 0 / 0.7936 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.987e-05/0.8198, allocations: 4 kB / 0.7936 GB, free: 7.277 MB / 0.6075 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.002351/0.8222, allocations: 1.488 MB / 0.7951 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.8222, allocations: 12.03 kB / 0.7951 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003788/0.826, allocations: 421.9 kB / 0.7955 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.8285, allocations: 0.9257 MB / 0.7964 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.448e-05/0.8286, allocations: 69.95 kB / 0.7964 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.8288, allocations: 80 kB / 0.7965 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/0.8313, allocations: 0.8702 MB / 0.7974 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.8314, allocations: 0 / 0.7974 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.8315, allocations: 32 kB / 0.7974 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.685e-05/0.8316, allocations: 33.98 kB / 0.7974 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.834, allocations: 0.8237 MB / 0.7982 GB, free: 2.43 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.007172/0.8411, allocations: 3.651 MB / 0.8018 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/0.8434, allocations: 1.097 MB / 0.8029 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009349/0.8444, allocations: 378.4 kB / 0.8032 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009581/0.8453, allocations: 420.9 kB / 0.8036 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.8454, allocations: 39.12 kB / 0.8037 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 3.867e-06/0.8454, allocations: 0 / 0.8037 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.003101/0.8485, allocations: 0.9897 MB / 0.8046 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.8486, allocations: 59.92 kB / 0.8047 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/0.8502, allocations: 0.836 MB / 0.8055 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.857e-05/0.8503, allocations: 37.7 kB / 0.8055 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005352/0.8509, allocations: 480.2 kB / 0.806 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/0.8511, allocations: 216.9 kB / 0.8062 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.8512, allocations: 8 kB / 0.8062 GB, free: 9.715 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.8514, allocations: 326 kB / 0.8065 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000743/0.8521, allocations: 253 kB / 0.8068 GB, free: 9.141 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008766/0.853, allocations: 375.5 kB / 0.8071 GB, free: 8.746 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000836/0.8539, allocations: 302 kB / 0.8074 GB, free: 8.453 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.8539, allocations: 4 kB / 0.8074 GB, free: 8.449 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002057/0.8559, allocations: 0.7399 MB / 0.8081 GB, free: 7.699 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.8561, allocations: 122.9 kB / 0.8083 GB, free: 7.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.8561, allocations: 7.891 kB / 0.8083 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.8561, allocations: 4 kB / 0.8083 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009201/0.8571, allocations: 135.8 kB / 0.8084 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/0.8571, allocations: 4 kB / 0.8084 GB, free: 7.414 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.8585, allocations: 138.8 kB / 0.8085 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.511e-05/0.8586, allocations: 23.94 kB / 0.8086 GB, free: 7.258 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.8586, allocations: 4 kB / 0.8086 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001669/0.8603, allocations: 0.63 MB / 0.8092 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.8603, allocations: 0 / 0.8092 GB, free: 6.621 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.8603, allocations: 4 kB / 0.8092 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007566/0.8611, allocations: 123.9 kB / 0.8093 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.8611, allocations: 7.938 kB / 0.8093 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001226/0.8624, allocations: 135.4 kB / 0.8094 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.214e-05/0.8624, allocations: 24 kB / 0.8095 GB, free: 6.332 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007507/0.8632, allocations: 388.9 kB / 0.8098 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002266/0.8634, allocations: 98.78 kB / 0.8099 GB, free: 5.844 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002178/0.8656, allocations: 0.7665 MB / 0.8107 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/0.8657, allocations: 8 kB / 0.8107 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.8657, allocations: 3.984 kB / 0.8107 GB, free: 5.062 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001735/0.8674, allocations: 0.9229 MB / 0.8116 GB, free: 4.051 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004963/0.8724, allocations: 2.267 MB / 0.8138 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.8724, allocations: 4 kB / 0.8138 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000947/0.8734, allocations: 135.9 kB / 0.8139 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.611e-05/0.8734, allocations: 8.406 kB / 0.8139 GB, free: 1.504 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.469e-05/0.8735, allocations: 20 kB / 0.814 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-05/0.8735, allocations: 7.938 kB / 0.814 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8735, allocations: 4 kB / 0.814 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/0.8763, allocations: 1.256 MB / 0.8152 GB, free: 164 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004561/0.8768, allocations: 260 kB / 0.8154 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.8769, allocations: 16 kB / 0.8155 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007595/0.8777, allocations: 109.3 kB / 0.8156 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.8778, allocations: 48.09 kB / 0.8156 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.63e-05/0.8778, allocations: 27.98 kB / 0.8156 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008996/0.8787, allocations: 0.5784 MB / 0.8162 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.4e-07/0.8788, allocations: 0 / 0.8162 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002003/0.8808, allocations: 0.5338 MB / 0.8167 GB, free: 14.57 MB / 0.6387 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 (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.0006064/0.8814, allocations: 253.6 kB / 0.817 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002489/0.8839, allocations: 0.9585 MB / 0.8179 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.83e-06/0.8839, allocations: 0 / 0.8179 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0008723/0.8848, allocations: 350.5 kB / 0.8182 GB, free: 13.02 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004138/0.8889, allocations: 0.6253 MB / 0.8188 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005308/0.8943, allocations: 2.639 MB / 0.8214 GB, free: 9.68 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/0.8953, allocations: 1.124 MB / 0.8225 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002084/0.8974, allocations: 296.1 kB / 0.8228 GB, free: 8.234 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003626/0.8978, allocations: 75.44 kB / 0.8229 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of SimCode: time 1.503e-06/0.8978, allocations: 0 / 0.8229 GB, free: 8.16 MB / 0.6387 GB Notification: Performance of Templates: time 0.3412/1.239, allocations: 19.06 MB / 0.8415 GB, free: 231.2 MB / 0.6387 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)