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.001045/0.001045, allocations: 179.7 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4772/0.4772, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 221.3 MB / 348.3 MB, free: 432 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000989/0.0009887, allocations: 106.5 kB / 421.2 MB, free: 5.438 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.77e-05/3.773e-05, allocations: 4 kB / 0.4897 GB, free: 5.234 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4427/0.4428, allocations: 72.29 MB / 0.5603 GB, free: 40.38 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.074/4.517, allocations: 1.881 GB / 2.442 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/4.517, allocations: 87.95 kB / 2.442 GB, free: 144.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.277/7.794, allocations: 0.9307 GB / 3.372 GB, free: 75.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.924e-06/7.795, allocations: 0 / 3.372 GB, free: 75.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001214/7.795, allocations: 38.52 kB / 3.372 GB, free: 75.86 MB / 0.6198 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.003402/7.798, allocations: 1.526 MB / 3.374 GB, free: 75.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/7.798, allocations: 15.05 kB / 3.374 GB, free: 75.13 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001784/7.798, allocations: 128 kB / 3.374 GB, free: 75.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00268/7.801, allocations: 417.4 kB / 3.374 GB, free: 75.02 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/7.803, allocations: 1.077 MB / 3.375 GB, free: 74.74 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.883e-05/7.803, allocations: 67.66 kB / 3.375 GB, free: 74.73 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001423/7.804, allocations: 89.66 kB / 3.376 GB, free: 74.73 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/7.805, allocations: 0.7927 MB / 3.376 GB, free: 74.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/7.805, allocations: 0 / 3.376 GB, free: 74.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.045e-05/7.805, allocations: 33.94 kB / 3.376 GB, free: 74.68 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.209e-05/7.805, allocations: 27.53 kB / 3.376 GB, free: 74.68 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/7.806, allocations: 0.7138 MB / 3.377 GB, free: 74.67 MB / 0.6198 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.005054/7.812, allocations: 3.679 MB / 3.381 GB, free: 73.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/7.813, allocations: 1.07 MB / 3.382 GB, free: 72.47 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004625/7.813, allocations: 344 kB / 3.382 GB, free: 72.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006506/7.814, allocations: 400 kB / 3.382 GB, free: 72.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/7.814, allocations: 42.41 kB / 3.382 GB, free: 72.04 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=60): time 2.515e-06/7.814, allocations: 0 / 3.382 GB, free: 72.04 MB / 0.6198 GB Notification: Performance of matching and sorting (n=60): time 0.001405/7.816, allocations: 0.6731 MB / 3.383 GB, free: 71.95 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/7.816, allocations: 65.67 kB / 3.383 GB, free: 71.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000798/7.816, allocations: 0.7087 MB / 3.384 GB, free: 71.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.022e-05/7.816, allocations: 44.27 kB / 3.384 GB, free: 71.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/7.817, allocations: 488.3 kB / 3.384 GB, free: 71.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/7.817, allocations: 218.8 kB / 3.385 GB, free: 71.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/7.817, allocations: 11.06 kB / 3.385 GB, free: 71.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.281e-05/7.817, allocations: 326.7 kB / 3.385 GB, free: 71.08 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003448/7.817, allocations: 228 kB / 3.385 GB, free: 71.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004465/7.818, allocations: 368.3 kB / 3.386 GB, free: 70.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/7.818, allocations: 283.8 kB / 3.386 GB, free: 70.93 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/7.818, allocations: 3.031 kB / 3.386 GB, free: 70.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0009667/7.819, allocations: 0.6877 MB / 3.386 GB, free: 70.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/7.819, allocations: 453.9 kB / 3.387 GB, free: 70.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/7.819, allocations: 3.188 kB / 3.387 GB, free: 70.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/7.819, allocations: 2.906 kB / 3.387 GB, free: 70.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/7.82, allocations: 137.2 kB / 3.387 GB, free: 70.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/7.82, allocations: 3.219 kB / 3.387 GB, free: 70.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/7.821, allocations: 135.1 kB / 3.387 GB, free: 70.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-05/7.821, allocations: 29.66 kB / 3.387 GB, free: 70.36 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/7.821, allocations: 8.422 kB / 3.387 GB, free: 70.36 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008712/7.822, allocations: 0.5689 MB / 3.388 GB, free: 70.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/7.822, allocations: 3.891 kB / 3.388 GB, free: 70.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-06/7.822, allocations: 3.312 kB / 3.388 GB, free: 70.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005626/7.823, allocations: 132.8 kB / 3.388 GB, free: 70.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/7.823, allocations: 3.844 kB / 3.388 GB, free: 70.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000982/7.824, allocations: 144.4 kB / 3.388 GB, free: 70.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/7.824, allocations: 29.47 kB / 3.388 GB, free: 70.32 MB / 0.6198 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.0001433/7.824, allocations: 132.6 kB / 3.388 GB, free: 70.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/7.824, allocations: 104.5 kB / 3.388 GB, free: 70.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/7.825, allocations: 0.7314 MB / 3.389 GB, free: 70.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/7.825, allocations: 7.344 kB / 3.389 GB, free: 70.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/7.825, allocations: 0 / 3.389 GB, free: 70.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008848/7.826, allocations: 0.8856 MB / 3.39 GB, free: 69.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003381/7.83, allocations: 2.186 MB / 3.392 GB, free: 69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/7.83, allocations: 3.469 kB / 3.392 GB, free: 69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000704/7.83, allocations: 150.6 kB / 3.392 GB, free: 69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/7.83, allocations: 6.594 kB / 3.392 GB, free: 69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.569e-05/7.83, allocations: 26.12 kB / 3.392 GB, free: 69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/7.831, allocations: 6.312 kB / 3.392 GB, free: 69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/7.831, allocations: 9.047 kB / 3.392 GB, free: 69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/7.832, allocations: 1.3 MB / 3.393 GB, free: 68.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004518/7.833, allocations: 261.6 kB / 3.394 GB, free: 68.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/7.833, allocations: 15.94 kB / 3.394 GB, free: 68.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009962/7.834, allocations: 136.1 kB / 3.394 GB, free: 68.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001239/7.834, allocations: 52.08 kB / 3.394 GB, free: 68.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/7.834, allocations: 26.97 kB / 3.394 GB, free: 68.31 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006852/7.835, allocations: 0.5622 MB / 3.394 GB, free: 68.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.51e-07/7.835, allocations: 0 / 3.394 GB, free: 68.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002264/7.837, allocations: 0.7687 MB / 3.395 GB, free: 68.12 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.005437/7.842, allocations: 4.934 MB / 3.4 GB, free: 65.45 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001499/7.844, allocations: 0.9074 MB / 3.401 GB, free: 65.43 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/7.844, allocations: 0 / 3.401 GB, free: 65.43 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004332/7.844, allocations: 326.9 kB / 3.401 GB, free: 65.43 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003506/7.848, allocations: 0.6719 MB / 3.402 GB, free: 65.4 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/7.851, allocations: 2.003 MB / 3.404 GB, free: 64.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005621/7.852, allocations: 1.155 MB / 3.405 GB, free: 64.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.00152/7.853, allocations: 385.3 kB / 3.405 GB, free: 64.09 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005196/7.854, allocations: 392.5 kB / 3.406 GB, free: 64.08 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/7.854, allocations: 0 / 3.406 GB, free: 64.08 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/7.971, allocations: 70.81 MB / 3.475 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/7.971, allocations: 191.8 kB / 3.475 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.458/12.43, allocations: 4 kB / 3.475 GB, free: 12.89 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)