Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9244/0.9244, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001144, allocations: 184.6 kB / 182.2 MB, free: 9.434 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009816/0.0009817, allocations: 100 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00174/0.00174, allocations: 272.4 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 4.184e-05/4.191e-05, allocations: 7.984 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4724/0.4725, allocations: 82.77 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.301/4.773, allocations: 1.887 GB / 2.645 GB, free: 171.6 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/4.774, allocations: 87.95 kB / 2.645 GB, free: 171.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.098/7.872, allocations: 0.9186 GB / 3.564 GB, free: 34.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.625e-06/7.872, allocations: 0 / 3.564 GB, free: 34.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001397/7.872, allocations: 35.98 kB / 3.564 GB, free: 34.24 MB / 0.698 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.004584/7.877, allocations: 1.529 MB / 3.565 GB, free: 32.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.761e-05/7.877, allocations: 8.031 kB / 3.565 GB, free: 32.65 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/7.879, allocations: 426 kB / 3.565 GB, free: 32.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/7.882, allocations: 1.052 MB / 3.566 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/7.882, allocations: 28 kB / 3.567 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/7.882, allocations: 51.95 kB / 3.567 GB, free: 31.06 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001074/7.883, allocations: 0.6833 MB / 3.567 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/7.884, allocations: 0.6829 MB / 3.568 GB, free: 29.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/7.884, allocations: 3.906 kB / 3.568 GB, free: 29.69 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.543e-05/7.884, allocations: 2.953 kB / 3.568 GB, free: 29.69 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/7.884, allocations: 26 kB / 3.568 GB, free: 29.66 MB / 0.698 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.003849/7.888, allocations: 3.489 MB / 3.571 GB, free: 25.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/7.889, allocations: 1.053 MB / 3.572 GB, free: 24.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003522/7.889, allocations: 323.6 kB / 3.573 GB, free: 24.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005793/7.89, allocations: 404.9 kB / 3.573 GB, free: 23.94 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/7.89, allocations: 43.12 kB / 3.573 GB, free: 23.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=60): time 4.499e-06/7.89, allocations: 0 / 3.573 GB, free: 23.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=60): time 0.001468/7.891, allocations: 0.7164 MB / 3.574 GB, free: 23.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/7.891, allocations: 63.95 kB / 3.574 GB, free: 23.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006181/7.892, allocations: 0.5894 MB / 3.574 GB, free: 22.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.648e-05/7.892, allocations: 29.7 kB / 3.574 GB, free: 22.46 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002624/7.892, allocations: 480 kB / 3.575 GB, free: 21.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001276/7.893, allocations: 208.8 kB / 3.575 GB, free: 21.78 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/7.893, allocations: 0 / 3.575 GB, free: 21.78 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.258e-05/7.893, allocations: 329.9 kB / 3.575 GB, free: 21.45 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/7.893, allocations: 225 kB / 3.576 GB, free: 21.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003363/7.893, allocations: 355.6 kB / 3.576 GB, free: 20.84 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005904/7.894, allocations: 345.9 kB / 3.576 GB, free: 20.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/7.894, allocations: 0 / 3.576 GB, free: 20.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001036/7.895, allocations: 0.7087 MB / 3.577 GB, free: 19.78 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/7.895, allocations: 461.6 kB / 3.577 GB, free: 19.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/7.895, allocations: 0 / 3.577 GB, free: 19.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/7.895, allocations: 4 kB / 3.577 GB, free: 19.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/7.896, allocations: 131.8 kB / 3.578 GB, free: 19.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/7.896, allocations: 7.984 kB / 3.578 GB, free: 19.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009649/7.897, allocations: 107.5 kB / 3.578 GB, free: 19.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.063e-05/7.897, allocations: 24 kB / 3.578 GB, free: 19.03 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.574e-06/7.897, allocations: 4 kB / 3.578 GB, free: 19.03 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009263/7.898, allocations: 0.5948 MB / 3.578 GB, free: 18.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/7.898, allocations: 0 / 3.578 GB, free: 18.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.561e-06/7.898, allocations: 4 kB / 3.578 GB, free: 18.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/7.898, allocations: 131.8 kB / 3.578 GB, free: 18.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/7.898, allocations: 7.953 kB / 3.578 GB, free: 18.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00077/7.899, allocations: 111.5 kB / 3.579 GB, free: 18.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.583e-05/7.899, allocations: 24 kB / 3.579 GB, free: 18.16 MB / 0.698 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.0001294/7.899, allocations: 112.9 kB / 3.579 GB, free: 18.04 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009679/7.9, allocations: 0.6658 MB / 3.579 GB, free: 17.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/7.9, allocations: 98.78 kB / 3.579 GB, free: 17.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001219/7.902, allocations: 0.7452 MB / 3.58 GB, free: 16.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/7.902, allocations: 4 kB / 3.58 GB, free: 16.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/7.902, allocations: 0 / 3.58 GB, free: 16.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000907/7.902, allocations: 0.9111 MB / 3.581 GB, free: 15.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/7.905, allocations: 2.085 MB / 3.583 GB, free: 13.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/7.905, allocations: 7.984 kB / 3.583 GB, free: 13.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006559/7.906, allocations: 152.2 kB / 3.583 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/7.906, allocations: 8 kB / 3.583 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/7.906, allocations: 15.98 kB / 3.583 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/7.906, allocations: 7.938 kB / 3.583 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.179e-06/7.906, allocations: 7.953 kB / 3.583 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001503/7.908, allocations: 1.335 MB / 3.585 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003621/7.908, allocations: 243.8 kB / 3.585 GB, free: 11.38 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/7.908, allocations: 15.95 kB / 3.585 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009204/7.909, allocations: 119.9 kB / 3.585 GB, free: 11.25 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/7.909, allocations: 48.31 kB / 3.585 GB, free: 11.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/7.909, allocations: 23.98 kB / 3.585 GB, free: 11.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005555/7.91, allocations: 467.1 kB / 3.585 GB, free: 10.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/7.91, allocations: 0 / 3.585 GB, free: 10.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001913/7.912, allocations: 0.6861 MB / 3.586 GB, free: 10.04 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],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.005112/7.917, allocations: 5.259 MB / 3.591 GB, free: 4.484 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001199/7.918, allocations: 0.8593 MB / 3.592 GB, free: 3.625 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/7.918, allocations: 4 kB / 3.592 GB, free: 3.621 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003451/7.918, allocations: 306.3 kB / 3.592 GB, free: 3.324 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003263/7.922, allocations: 0.61 MB / 3.593 GB, free: 2.723 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004846/7.927, allocations: 1.928 MB / 3.595 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/7.928, allocations: 1.152 MB / 3.596 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001838/7.929, allocations: 347.4 kB / 3.596 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006778/7.93, allocations: 399.2 kB / 3.597 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of SimCode: time 1.452e-06/7.93, allocations: 0 / 3.597 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6346/8.565, allocations: 45.05 MB / 3.641 GB, free: 91.82 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/8.565, allocations: 189.6 kB / 3.641 GB, free: 91.63 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.847/12.41, allocations: 2.297 kB / 3.641 GB, free: 91.63 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_FlowJunction.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)