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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4957/0.4957, allocations: 90.91 MB / 99.34 MB, free: 2.227 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 221.5 MB / 343.2 MB, free: 1.617 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008882/0.0008882, allocations: 103.4 kB / 415.9 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.542e-05/1.544e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.799/3.921, allocations: 1.881 GB / 2.434 GB, free: 22.72 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/3.921, allocations: 87.33 kB / 2.434 GB, free: 22.68 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.127/7.048, allocations: 0.9205 GB / 3.355 GB, free: 19.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/7.048, allocations: 4.188 kB / 3.355 GB, free: 19.63 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001822/7.048, allocations: 39.92 kB / 3.355 GB, free: 19.59 MB / 0.6042 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.004146/7.052, allocations: 1.533 MB / 3.356 GB, free: 18.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/7.052, allocations: 8.031 kB / 3.356 GB, free: 18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/7.055, allocations: 418 kB / 3.357 GB, free: 17.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00265/7.058, allocations: 1.072 MB / 3.358 GB, free: 16.48 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/7.058, allocations: 24 kB / 3.358 GB, free: 16.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/7.058, allocations: 55.91 kB / 3.358 GB, free: 16.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001259/7.059, allocations: 0.6833 MB / 3.359 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00123/7.061, allocations: 0.6868 MB / 3.359 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.274e-05/7.061, allocations: 0 / 3.359 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.345e-05/7.061, allocations: 0 / 3.359 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.017e-05/7.061, allocations: 29.94 kB / 3.359 GB, free: 15 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.004437/7.065, allocations: 3.502 MB / 3.363 GB, free: 11.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/7.066, allocations: 1.046 MB / 3.364 GB, free: 10.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/7.067, allocations: 326.5 kB / 3.364 GB, free: 9.734 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005493/7.067, allocations: 400.9 kB / 3.364 GB, free: 9.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/7.067, allocations: 43.11 kB / 3.364 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=60): time 2.515e-06/7.067, allocations: 0 / 3.364 GB, free: 9.219 MB / 0.6042 GB Notification: Performance of matching and sorting (n=60): time 0.001505/7.069, allocations: 0.7242 MB / 3.365 GB, free: 8.488 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/7.069, allocations: 55.97 kB / 3.365 GB, free: 8.418 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006125/7.069, allocations: 0.5986 MB / 3.366 GB, free: 7.816 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.819e-05/7.07, allocations: 29.7 kB / 3.366 GB, free: 7.781 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/7.07, allocations: 493.7 kB / 3.366 GB, free: 7.293 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/7.07, allocations: 197 kB / 3.366 GB, free: 7.098 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/7.07, allocations: 0 / 3.366 GB, free: 7.098 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.909e-05/7.07, allocations: 330 kB / 3.367 GB, free: 6.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/7.07, allocations: 217.1 kB / 3.367 GB, free: 6.559 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/7.071, allocations: 354.6 kB / 3.367 GB, free: 6.164 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006147/7.071, allocations: 346.6 kB / 3.368 GB, free: 5.828 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/7.071, allocations: 0 / 3.368 GB, free: 5.828 MB / 0.6042 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001085/7.072, allocations: 0.7203 MB / 3.368 GB, free: 5.098 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001434/7.073, allocations: 463.2 kB / 3.369 GB, free: 4.613 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/7.073, allocations: 0 / 3.369 GB, free: 4.613 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/7.073, allocations: 4 kB / 3.369 GB, free: 4.609 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005749/7.073, allocations: 143.8 kB / 3.369 GB, free: 4.469 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/7.073, allocations: 4 kB / 3.369 GB, free: 4.465 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/7.074, allocations: 115.5 kB / 3.369 GB, free: 4.352 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.434e-05/7.074, allocations: 27.95 kB / 3.369 GB, free: 4.324 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.127e-06/7.074, allocations: 5.25 kB / 3.369 GB, free: 4.32 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009455/7.075, allocations: 0.5831 MB / 3.37 GB, free: 3.734 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/7.075, allocations: 8.125 kB / 3.37 GB, free: 3.727 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.101e-06/7.075, allocations: 7.984 kB / 3.37 GB, free: 3.719 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/7.076, allocations: 131.8 kB / 3.37 GB, free: 3.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/7.076, allocations: 4 kB / 3.37 GB, free: 3.586 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000756/7.077, allocations: 123.4 kB / 3.37 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.56e-05/7.077, allocations: 23.98 kB / 3.37 GB, free: 3.441 MB / 0.6042 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 () * 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.0001365/7.077, allocations: 116.9 kB / 3.37 GB, free: 3.32 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009862/7.078, allocations: 0.6657 MB / 3.371 GB, free: 2.648 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/7.078, allocations: 102.8 kB / 3.371 GB, free: 2.547 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/7.079, allocations: 0.7388 MB / 3.372 GB, free: 1.797 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/7.079, allocations: 4 kB / 3.372 GB, free: 1.793 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/7.079, allocations: 0 / 3.372 GB, free: 1.793 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008919/7.08, allocations: 0.915 MB / 3.372 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003208/7.083, allocations: 2.103 MB / 3.374 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/7.083, allocations: 7.953 kB / 3.375 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006825/7.084, allocations: 152.2 kB / 3.375 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/7.084, allocations: 11.94 kB / 3.375 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.465e-05/7.084, allocations: 15.98 kB / 3.375 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.932e-06/7.084, allocations: 4 kB / 3.375 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/7.084, allocations: 7.938 kB / 3.375 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/7.086, allocations: 1.306 MB / 3.376 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000365/7.086, allocations: 251.8 kB / 3.376 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/7.086, allocations: 7.984 kB / 3.376 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008878/7.087, allocations: 119.8 kB / 3.376 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.6e-05/7.087, allocations: 44.34 kB / 3.376 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/7.087, allocations: 27.98 kB / 3.376 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005787/7.088, allocations: 475.1 kB / 3.377 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/7.088, allocations: 0 / 3.377 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001744/7.09, allocations: 0.686 MB / 3.378 GB, free: 11.32 MB / 0.6198 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.005885/7.096, allocations: 5.225 MB / 3.383 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001385/7.097, allocations: 0.8597 MB / 3.383 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/7.097, allocations: 4.125 kB / 3.383 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004199/7.097, allocations: 297.4 kB / 3.384 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003163/7.101, allocations: 0.6025 MB / 3.384 GB, free: 4.047 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003496/7.104, allocations: 1.958 MB / 3.386 GB, free: 2.004 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007443/7.105, allocations: 1.148 MB / 3.387 GB, free: 0.8281 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001363/7.106, allocations: 347.5 kB / 3.388 GB, free: 496 kB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005221/7.107, allocations: 399.3 kB / 3.388 GB, free: 96 kB / 0.6198 GB Notification: Performance of SimCode: time 1.002e-06/7.107, allocations: 0 / 3.388 GB, free: 96 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4659/7.573, allocations: 45.07 MB / 3.432 GB, free: 73.7 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001647/7.573, allocations: 181.5 kB / 3.432 GB, free: 73.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.59/11.16, allocations: 0 / 3.432 GB, free: 73.5 MB / 0.6198 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/linux/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)