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: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 107.1 kB / 15.98 MB, free: 5.875 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.001061/0.001061, allocations: 197.6 kB / 16.91 MB, free: 5.738 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.261/1.261, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6526/0.6526, allocations: 115.3 MB / 406.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 59.47 kB / 493.2 MB, free: 6.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1141, allocations: 76.19 MB / 0.556 GB, free: 10.6 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.4057/0.5199, allocations: 236.9 MB / 0.7874 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008633/0.5285, allocations: 7.189 MB / 0.7944 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.5296, allocations: 43.69 kB / 0.7945 GB, free: 2.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.531, allocations: 0.6063 MB / 0.7951 GB, free: 1.719 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003675/0.5347, allocations: 1.945 MB / 0.797 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003519/0.5382, allocations: 1.879 MB / 0.7988 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003079/0.5413, allocations: 3.284 MB / 0.802 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.5426, allocations: 1.102 MB / 0.8031 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002809/0.5454, allocations: 1.786 MB / 0.8048 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001566/0.547, allocations: 1.023 MB / 0.8058 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.5472, allocations: 124 kB / 0.806 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003248/0.5505, allocations: 2.58 MB / 0.8085 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004023/0.5509, allocations: 462.7 kB / 0.8089 GB, free: 3.512 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007179/0.5516, allocations: 0.7233 MB / 0.8096 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00294/0.5545, allocations: 2.82 MB / 0.8124 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.5545, allocations: 0 / 0.8124 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5546, allocations: 0 / 0.8124 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.712e-05/0.5546, allocations: 0 / 0.8124 GB, free: 15.96 MB / 0.6387 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.002436/0.557, allocations: 1.717 MB / 0.8141 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.5571, allocations: 12.03 kB / 0.8141 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001402/0.5572, allocations: 122.8 kB / 0.8142 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002441/0.5597, allocations: 421.9 kB / 0.8146 GB, free: 13.63 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.561, allocations: 0.96 MB / 0.8155 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.205e-05/0.561, allocations: 62 kB / 0.8156 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.5611, allocations: 87.98 kB / 0.8157 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.5625, allocations: 0.8662 MB / 0.8165 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.5625, allocations: 3.906 kB / 0.8165 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/0.5626, allocations: 32 kB / 0.8165 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.923e-05/0.5626, allocations: 29.98 kB / 0.8166 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.5639, allocations: 0.8081 MB / 0.8174 GB, free: 10.73 MB / 0.6387 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.003788/0.5677, allocations: 3.631 MB / 0.8209 GB, free: 6.809 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001264/0.569, allocations: 1.091 MB / 0.822 GB, free: 5.602 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005162/0.5695, allocations: 364.4 kB / 0.8223 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005931/0.5701, allocations: 412.9 kB / 0.8227 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.5701, allocations: 39.12 kB / 0.8228 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 3.216e-06/0.5701, allocations: 4 kB / 0.8228 GB, free: 4.719 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.001786/0.5719, allocations: 0.9545 MB / 0.8237 GB, free: 3.758 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.572, allocations: 59.97 kB / 0.8238 GB, free: 3.688 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008474/0.5728, allocations: 0.8361 MB / 0.8246 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.233e-05/0.5729, allocations: 45.69 kB / 0.8246 GB, free: 2.777 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002826/0.5732, allocations: 480.1 kB / 0.8251 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001425/0.5733, allocations: 212.8 kB / 0.8253 GB, free: 2.09 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.5735, allocations: 110.2 kB / 0.8254 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.518e-05/0.5736, allocations: 330 kB / 0.8257 GB, free: 1.648 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004309/0.574, allocations: 255 kB / 0.8259 GB, free: 1.398 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/0.5745, allocations: 379.3 kB / 0.8263 GB, free: 0.9961 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009012/0.5754, allocations: 0.5852 MB / 0.8269 GB, free: 404 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5755, allocations: 11.88 kB / 0.8269 GB, free: 396 kB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.1747/0.7502, allocations: 0.7348 MB / 0.8276 GB, free: 236.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.7502, allocations: 6.031 kB / 0.8276 GB, free: 236.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.7502, allocations: 1.359 kB / 0.8276 GB, free: 236.2 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.7502, allocations: 4.375 kB / 0.8276 GB, free: 236.2 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005971/0.7508, allocations: 126.2 kB / 0.8277 GB, free: 236.2 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.7509, allocations: 5.938 kB / 0.8277 GB, free: 236.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009902/0.7519, allocations: 125.8 kB / 0.8279 GB, free: 236.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/0.7519, allocations: 25.8 kB / 0.8279 GB, free: 236.2 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000753/0.7527, allocations: 497.2 kB / 0.8284 GB, free: 236.2 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005141/0.7532, allocations: 365.7 kB / 0.8287 GB, free: 236.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008965/0.7541, allocations: 0.5781 MB / 0.8293 GB, free: 236 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/0.7541, allocations: 1.438 kB / 0.8293 GB, free: 236 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001227/0.7554, allocations: 0.7231 MB / 0.83 GB, free: 235.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/0.7554, allocations: 4.906 kB / 0.83 GB, free: 235.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.7554, allocations: 6.469 kB / 0.83 GB, free: 235.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.921e-06/0.7554, allocations: 3.781 kB / 0.83 GB, free: 235.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005287/0.7559, allocations: 126.1 kB / 0.8301 GB, free: 235.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.756, allocations: 3.906 kB / 0.8301 GB, free: 235.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008726/0.7568, allocations: 126.3 kB / 0.8302 GB, free: 235.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.7569, allocations: 21.09 kB / 0.8303 GB, free: 235.9 MB / 0.6387 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.0001442/0.757, allocations: 211.7 kB / 0.8305 GB, free: 235.7 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.7572, allocations: 102.3 kB / 0.8306 GB, free: 235.7 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.7585, allocations: 0.7436 MB / 0.8313 GB, free: 235.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/0.7586, allocations: 6 kB / 0.8313 GB, free: 235.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.7586, allocations: 0 / 0.8313 GB, free: 235.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001003/0.7596, allocations: 0.9092 MB / 0.8322 GB, free: 234.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.7626, allocations: 2.244 MB / 0.8344 GB, free: 233.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.7626, allocations: 5.188 kB / 0.8344 GB, free: 233.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000606/0.7632, allocations: 134.7 kB / 0.8345 GB, free: 233.5 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.7633, allocations: 6.688 kB / 0.8345 GB, free: 233.5 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.7633, allocations: 17.36 kB / 0.8345 GB, free: 233.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.7633, allocations: 10 kB / 0.8345 GB, free: 233.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.7633, allocations: 8.031 kB / 0.8345 GB, free: 233.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001661/0.765, allocations: 1.227 MB / 0.8357 GB, free: 232.9 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/0.7654, allocations: 265.2 kB / 0.836 GB, free: 232.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.7655, allocations: 16.61 kB / 0.836 GB, free: 232.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007674/0.7663, allocations: 92.83 kB / 0.8361 GB, free: 232.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.7664, allocations: 51.67 kB / 0.8361 GB, free: 232.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.566e-05/0.7664, allocations: 30.31 kB / 0.8362 GB, free: 232.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007128/0.7672, allocations: 0.5809 MB / 0.8367 GB, free: 232.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7672, allocations: 0 / 0.8367 GB, free: 232.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001187/0.7684, allocations: 0.5409 MB / 0.8373 GB, free: 232.3 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 (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.002123/0.7705, allocations: 1.913 MB / 0.8391 GB, free: 231.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00179/0.7723, allocations: 1.008 MB / 0.8401 GB, free: 230.8 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.7723, allocations: 1.25 kB / 0.8401 GB, free: 230.8 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005422/0.7728, allocations: 344.4 kB / 0.8404 GB, free: 230.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002383/0.7752, allocations: 0.5959 MB / 0.841 GB, free: 230.5 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/0.7859, allocations: 8.366 MB / 0.8492 GB, free: 225.7 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/0.7865, allocations: 1.119 MB / 0.8503 GB, free: 225 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001023/0.7875, allocations: 298.6 kB / 0.8506 GB, free: 224.9 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004629/0.788, allocations: 416.7 kB / 0.851 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of SimCode: time 4.51e-07/0.788, allocations: 5 kB / 0.851 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.07/2.858, allocations: 28.81 MB / 0.8791 GB, free: 204.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001452/2.858, allocations: 244.8 kB / 0.8794 GB, free: 204.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.439/5.298, allocations: 3.828 kB / 0.8794 GB, free: 204.5 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_FlowJunction.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)