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.9013/0.9013, allocations: 143.3 MB / 158.3 MB, free: 5.777 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.001004/0.001003, allocations: 177 kB / 191.5 MB, free: 5.758 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.45/1.45, allocations: 223.2 MB / 447.7 MB, free: 6.531 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.001016/0.001016, allocations: 100.2 kB / 0.5188 GB, free: 2.887 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001732, allocations: 276 kB / 0.6005 GB, free: 48.96 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004447/0.000445, allocations: 16 kB / 0.6929 GB, free: 2.203 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4283, allocations: 82.78 MB / 0.7738 GB, free: 26.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.731/5.159, allocations: 1.888 GB / 2.662 GB, free: 95.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/5.159, allocations: 90.2 kB / 2.662 GB, free: 95.65 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.556/8.716, allocations: 0.9295 GB / 3.591 GB, free: 97.87 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.365e-06/8.716, allocations: 0 / 3.591 GB, free: 97.87 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001198/8.716, allocations: 33.09 kB / 3.591 GB, free: 97.87 MB / 0.7136 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.004414/8.72, allocations: 1.755 MB / 3.593 GB, free: 97.33 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/8.72, allocations: 11.83 kB / 3.593 GB, free: 97.33 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000198/8.721, allocations: 129.3 kB / 3.593 GB, free: 97.29 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002777/8.723, allocations: 420.4 kB / 3.594 GB, free: 97.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002465/8.726, allocations: 1.071 MB / 3.595 GB, free: 96.94 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/8.726, allocations: 63.72 kB / 3.595 GB, free: 96.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001357/8.726, allocations: 88.06 kB / 3.595 GB, free: 96.94 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/8.728, allocations: 0.8426 MB / 3.596 GB, free: 96.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/8.728, allocations: 0 / 3.596 GB, free: 96.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/8.728, allocations: 33.69 kB / 3.596 GB, free: 96.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.714e-05/8.728, allocations: 27.31 kB / 3.596 GB, free: 96.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/8.729, allocations: 0.7934 MB / 3.597 GB, free: 96.87 MB / 0.7136 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.005108/8.734, allocations: 3.662 MB / 3.6 GB, free: 95.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/8.736, allocations: 1.095 MB / 3.601 GB, free: 94.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005949/8.736, allocations: 403 kB / 3.602 GB, free: 94.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/8.736, allocations: 41.84 kB / 3.602 GB, free: 94.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 3.427e-06/8.736, allocations: 1.5 kB / 3.602 GB, free: 94.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.0021/8.738, allocations: 1.005 MB / 3.603 GB, free: 94.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/8.738, allocations: 63.61 kB / 3.603 GB, free: 94.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009198/8.739, allocations: 0.7148 MB / 3.603 GB, free: 94 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.668e-05/8.739, allocations: 39.11 kB / 3.603 GB, free: 93.97 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003214/8.74, allocations: 491.3 kB / 3.604 GB, free: 93.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/8.74, allocations: 220.3 kB / 3.604 GB, free: 93.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/8.74, allocations: 11.25 kB / 3.604 GB, free: 93.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.397e-05/8.74, allocations: 328.8 kB / 3.604 GB, free: 93.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000434/8.74, allocations: 263.3 kB / 3.605 GB, free: 93.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/8.741, allocations: 411.4 kB / 3.605 GB, free: 93.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/8.742, allocations: 320.4 kB / 3.605 GB, free: 93.26 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/8.742, allocations: 0 / 3.605 GB, free: 93.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001258/8.743, allocations: 0.7598 MB / 3.606 GB, free: 93.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/8.743, allocations: 452.5 kB / 3.607 GB, free: 92.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/8.743, allocations: 3.875 kB / 3.607 GB, free: 92.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/8.743, allocations: 3.625 kB / 3.607 GB, free: 92.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/8.744, allocations: 140.4 kB / 3.607 GB, free: 92.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/8.744, allocations: 6.547 kB / 3.607 GB, free: 92.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/8.745, allocations: 137.5 kB / 3.607 GB, free: 92.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/8.745, allocations: 26.97 kB / 3.607 GB, free: 92.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.022e-05/8.745, allocations: 4.812 kB / 3.607 GB, free: 92.7 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001063/8.746, allocations: 0.6421 MB / 3.607 GB, free: 92.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/8.746, allocations: 3.797 kB / 3.607 GB, free: 92.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/8.746, allocations: 7.625 kB / 3.608 GB, free: 92.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005281/8.746, allocations: 130.7 kB / 3.608 GB, free: 92.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/8.746, allocations: 3.969 kB / 3.608 GB, free: 92.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/8.748, allocations: 131.1 kB / 3.608 GB, free: 92.67 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/8.748, allocations: 20.69 kB / 3.608 GB, free: 92.67 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007212/8.748, allocations: 393.5 kB / 3.608 GB, free: 92.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/8.749, allocations: 104.6 kB / 3.608 GB, free: 92.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/8.75, allocations: 0.7928 MB / 3.609 GB, free: 92.37 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/8.75, allocations: 6.781 kB / 3.609 GB, free: 92.37 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/8.75, allocations: 3.812 kB / 3.609 GB, free: 92.37 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001017/8.751, allocations: 0.953 MB / 3.61 GB, free: 91.92 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003508/8.755, allocations: 2.26 MB / 3.612 GB, free: 91.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/8.755, allocations: 3.75 kB / 3.612 GB, free: 91.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006941/8.755, allocations: 159 kB / 3.612 GB, free: 91.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/8.755, allocations: 6.703 kB / 3.612 GB, free: 91.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/8.755, allocations: 18.28 kB / 3.612 GB, free: 91.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.674e-06/8.755, allocations: 7.562 kB / 3.612 GB, free: 91.29 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/8.755, allocations: 6.25 kB / 3.612 GB, free: 91.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/8.757, allocations: 1.436 MB / 3.614 GB, free: 90.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005484/8.758, allocations: 257.5 kB / 3.614 GB, free: 90.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001179/8.758, allocations: 21.16 kB / 3.614 GB, free: 90.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009165/8.759, allocations: 129.8 kB / 3.614 GB, free: 90.61 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/8.759, allocations: 46.12 kB / 3.614 GB, free: 90.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/8.759, allocations: 24.95 kB / 3.614 GB, free: 90.6 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007111/8.76, allocations: 0.5732 MB / 3.615 GB, free: 90.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.61e-07/8.76, allocations: 0 / 3.615 GB, free: 90.49 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002407/8.762, allocations: 0.767 MB / 3.616 GB, free: 90.46 MB / 0.7136 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 () * Number of clocked 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.005709/8.768, allocations: 5.101 MB / 3.621 GB, free: 87.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001957/8.77, allocations: 0.9818 MB / 3.621 GB, free: 87.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/8.77, allocations: 0 / 3.621 GB, free: 87.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005615/8.77, allocations: 350.9 kB / 3.622 GB, free: 87.78 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/8.774, allocations: 0.6753 MB / 3.622 GB, free: 87.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/8.787, allocations: 6.856 MB / 3.629 GB, free: 85.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008729/8.788, allocations: 1.145 MB / 3.63 GB, free: 84.39 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001575/8.789, allocations: 289.5 kB / 3.631 GB, free: 84.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007447/8.79, allocations: 410.4 kB / 3.631 GB, free: 84.37 MB / 0.7136 GB Notification: Performance of SimCode: time 1.392e-06/8.79, allocations: 0 / 3.631 GB, free: 84.37 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1047/8.895, allocations: 63.43 MB / 3.693 GB, free: 82.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/8.895, allocations: 234.6 kB / 3.693 GB, free: 81.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.271/13.17, allocations: 0 / 3.693 GB, free: 81.93 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)