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.0009718/0.0009719, allocations: 100.1 kB / 15.88 MB, free: 12 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.0009776/0.0009776, allocations: 210.2 kB / 16.79 MB, free: 6.84 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.226/1.226, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6444/0.6444, allocations: 115.3 MB / 406 MB, free: 2.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 59.94 kB / 493 MB, free: 6.754 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1261, allocations: 76.19 MB / 0.5558 GB, free: 10.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.4444/0.5705, allocations: 237.7 MB / 0.788 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.5812, allocations: 7.315 MB / 0.7951 GB, free: 1.711 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0014/0.5826, allocations: 43.69 kB / 0.7952 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.5845, allocations: 0.5828 MB / 0.7957 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004462/0.5889, allocations: 1.953 MB / 0.7976 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.004265/0.5932, allocations: 1.86 MB / 0.7994 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004418/0.5977, allocations: 4.428 MB / 0.8038 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001487/0.5992, allocations: 0.9378 MB / 0.8047 GB, free: 7.875 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003234/0.6024, allocations: 1.595 MB / 0.8062 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.6043, allocations: 0.9963 MB / 0.8072 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002562/0.6046, allocations: 64 kB / 0.8073 GB, free: 5.215 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004522/0.6091, allocations: 2.837 MB / 0.8101 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004934/0.6096, allocations: 398.7 kB / 0.8104 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009973/0.6106, allocations: 0.6608 MB / 0.8111 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003779/0.6144, allocations: 2.769 MB / 0.8138 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.6144, allocations: 11.92 kB / 0.8138 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of FrontEnd: time 6.61e-07/0.6144, allocations: 0 / 0.8138 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.533e-05/0.6145, allocations: 4 kB / 0.8138 GB, free: 14.52 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.002996/0.6175, allocations: 1.702 MB / 0.8155 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.6175, allocations: 8.031 kB / 0.8155 GB, free: 12.75 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000176/0.6177, allocations: 138.8 kB / 0.8156 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002567/0.6203, allocations: 421.9 kB / 0.816 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001467/0.6217, allocations: 0.9599 MB / 0.8169 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.322e-05/0.6218, allocations: 66 kB / 0.817 GB, free: 11.13 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.6219, allocations: 84 kB / 0.8171 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001441/0.6234, allocations: 0.8623 MB / 0.8179 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.6234, allocations: 3.906 kB / 0.8179 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.465e-05/0.6235, allocations: 39.98 kB / 0.818 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.819e-05/0.6235, allocations: 26 kB / 0.818 GB, free: 10.11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001378/0.6249, allocations: 0.8081 MB / 0.8188 GB, free: 9.301 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.00431/0.6292, allocations: 3.627 MB / 0.8223 GB, free: 5.383 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.6306, allocations: 1.084 MB / 0.8234 GB, free: 4.184 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00055/0.6312, allocations: 374.3 kB / 0.8237 GB, free: 3.816 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006397/0.6318, allocations: 412.8 kB / 0.8241 GB, free: 3.34 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.6318, allocations: 43.12 kB / 0.8242 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 1.623e-06/0.6319, allocations: 0 / 0.8242 GB, free: 3.289 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.001872/0.6337, allocations: 0.9545 MB / 0.8251 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.6338, allocations: 59.97 kB / 0.8252 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009498/0.6347, allocations: 0.84 MB / 0.826 GB, free: 1.395 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.6348, allocations: 37.7 kB / 0.826 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.6351, allocations: 484.1 kB / 0.8265 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001686/0.6353, allocations: 216.8 kB / 0.8267 GB, free: 0.6562 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.6355, allocations: 110.2 kB / 0.8268 GB, free: 0.543 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.6356, allocations: 326 kB / 0.8271 GB, free: 224 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2103/0.8458, allocations: 252.9 kB / 0.8273 GB, free: 236.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006752/0.8465, allocations: 366.1 kB / 0.8277 GB, free: 236.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000978/0.8475, allocations: 0.5913 MB / 0.8283 GB, free: 236.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.8475, allocations: 0.5312 kB / 0.8283 GB, free: 236.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001334/0.8489, allocations: 0.7375 MB / 0.829 GB, free: 236.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.8489, allocations: 6.375 kB / 0.829 GB, free: 236.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.8489, allocations: 1.406 kB / 0.829 GB, free: 236.4 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.8489, allocations: 4.406 kB / 0.829 GB, free: 236.4 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/0.8495, allocations: 126.3 kB / 0.8291 GB, free: 236.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.8495, allocations: 4.906 kB / 0.8291 GB, free: 236.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009014/0.8504, allocations: 128.9 kB / 0.8292 GB, free: 236.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.8505, allocations: 27.84 kB / 0.8293 GB, free: 236.3 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007233/0.8512, allocations: 496.8 kB / 0.8297 GB, free: 236.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004893/0.8517, allocations: 361.5 kB / 0.8301 GB, free: 236.1 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008927/0.8526, allocations: 0.5852 MB / 0.8307 GB, free: 235.8 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.8526, allocations: 0.875 kB / 0.8307 GB, free: 235.8 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001183/0.8538, allocations: 0.7187 MB / 0.8314 GB, free: 235.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.8538, allocations: 6.094 kB / 0.8314 GB, free: 235.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.8538, allocations: 3.016 kB / 0.8314 GB, free: 235.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.121e-06/0.8538, allocations: 4.172 kB / 0.8314 GB, free: 235.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005008/0.8543, allocations: 124.8 kB / 0.8315 GB, free: 235.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.8543, allocations: 4.578 kB / 0.8315 GB, free: 235.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008544/0.8552, allocations: 125.4 kB / 0.8316 GB, free: 235.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.543e-05/0.8553, allocations: 21.69 kB / 0.8316 GB, free: 235.5 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.000139/0.8554, allocations: 218.8 kB / 0.8319 GB, free: 235.3 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.8556, allocations: 106.3 kB / 0.832 GB, free: 235.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.8569, allocations: 0.7427 MB / 0.8327 GB, free: 235 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.8569, allocations: 6.281 kB / 0.8327 GB, free: 235 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.8569, allocations: 0 / 0.8327 GB, free: 235 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009571/0.8578, allocations: 0.9022 MB / 0.8336 GB, free: 234.4 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/0.8609, allocations: 2.247 MB / 0.8358 GB, free: 233.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-06/0.8609, allocations: 3.719 kB / 0.8358 GB, free: 233.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005936/0.8615, allocations: 138.4 kB / 0.8359 GB, free: 233.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/0.8615, allocations: 10.12 kB / 0.8359 GB, free: 233.1 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.624e-05/0.8616, allocations: 18.94 kB / 0.8359 GB, free: 233.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.8616, allocations: 6.531 kB / 0.8359 GB, free: 233.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.8616, allocations: 7.797 kB / 0.8359 GB, free: 233.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.8633, allocations: 1.231 MB / 0.8371 GB, free: 232.4 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003476/0.8636, allocations: 258.6 kB / 0.8374 GB, free: 232.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001542/0.8638, allocations: 19.95 kB / 0.8374 GB, free: 232.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007722/0.8645, allocations: 97.66 kB / 0.8375 GB, free: 232.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.8647, allocations: 55.34 kB / 0.8376 GB, free: 232.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.8647, allocations: 23.45 kB / 0.8376 GB, free: 232.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007211/0.8654, allocations: 0.5856 MB / 0.8381 GB, free: 232 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8654, allocations: 0 / 0.8381 GB, free: 232 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001192/0.8666, allocations: 0.5331 MB / 0.8387 GB, free: 231.9 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.002103/0.8688, allocations: 1.912 MB / 0.8405 GB, free: 230.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001665/0.8704, allocations: 0.9361 MB / 0.8414 GB, free: 230.4 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.8704, allocations: 1.312 kB / 0.8414 GB, free: 230.4 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005159/0.871, allocations: 344.9 kB / 0.8418 GB, free: 230.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.8736, allocations: 0.6166 MB / 0.8424 GB, free: 230.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.8852, allocations: 8.354 MB / 0.8505 GB, free: 225.4 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007573/0.8859, allocations: 1.129 MB / 0.8516 GB, free: 224.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001139/0.8871, allocations: 301.2 kB / 0.8519 GB, free: 224.5 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004816/0.8876, allocations: 415.7 kB / 0.8523 GB, free: 224.2 MB / 0.6387 GB Notification: Performance of SimCode: time 5.41e-07/0.8876, allocations: 1.281 kB / 0.8523 GB, free: 224.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5797/1.467, allocations: 28.39 MB / 0.8801 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001666/1.467, allocations: 249.9 kB / 0.8803 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.591/4.059, allocations: 0 / 0.8803 GB, free: 203.6 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)