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.6799/0.6799, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009498/0.0009498, allocations: 183.8 kB / 187.3 MB, free: 11.88 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.2/1.2, allocations: 221.3 MB / 441.4 MB, free: 4.574 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.0008902/0.0008902, allocations: 94.05 kB / 0.5124 GB, free: 24.27 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001668/0.001667, allocations: 270 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.059e-05/3.061e-05, allocations: 7.938 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3289, allocations: 82.76 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.346/3.675, allocations: 1.888 GB / 2.652 GB, free: 118.8 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/3.675, allocations: 90.64 kB / 2.652 GB, free: 118.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.953/6.628, allocations: 0.9287 GB / 3.581 GB, free: 97.95 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.473e-06/6.628, allocations: 3.594 kB / 3.581 GB, free: 97.95 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.901e-05/6.628, allocations: 36.67 kB / 3.581 GB, free: 97.95 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.00249/6.631, allocations: 1.523 MB / 3.583 GB, free: 97.55 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/6.631, allocations: 7.531 kB / 3.583 GB, free: 97.55 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001267/6.631, allocations: 131.7 kB / 3.583 GB, free: 97.51 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/6.633, allocations: 423.2 kB / 3.583 GB, free: 97.44 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/6.635, allocations: 1.055 MB / 3.584 GB, free: 97.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/6.635, allocations: 65.78 kB / 3.584 GB, free: 97.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/6.635, allocations: 89.25 kB / 3.584 GB, free: 97.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/6.636, allocations: 0.7992 MB / 3.585 GB, free: 97.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/6.636, allocations: 2.844 kB / 3.585 GB, free: 97.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.846e-05/6.636, allocations: 33.34 kB / 3.585 GB, free: 97.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/6.636, allocations: 29.59 kB / 3.585 GB, free: 97.09 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009326/6.637, allocations: 0.7107 MB / 3.586 GB, free: 97.09 MB / 0.7136 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.003426/6.641, allocations: 3.664 MB / 3.59 GB, free: 95.51 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009875/6.642, allocations: 1.063 MB / 3.591 GB, free: 94.92 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003814/6.642, allocations: 344.2 kB / 3.591 GB, free: 94.91 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004701/6.642, allocations: 401 kB / 3.591 GB, free: 94.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/6.642, allocations: 40.31 kB / 3.591 GB, free: 94.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=60): time 1.904e-06/6.643, allocations: 1.531 kB / 3.591 GB, free: 94.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=60): time 0.001091/6.644, allocations: 0.6772 MB / 3.592 GB, free: 94.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/6.644, allocations: 61.12 kB / 3.592 GB, free: 94.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000663/6.644, allocations: 0.703 MB / 3.593 GB, free: 94.19 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/6.644, allocations: 40.73 kB / 3.593 GB, free: 94.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/6.645, allocations: 481.6 kB / 3.593 GB, free: 94.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/6.645, allocations: 213.8 kB / 3.593 GB, free: 93.91 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/6.645, allocations: 10.53 kB / 3.593 GB, free: 93.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.563e-05/6.645, allocations: 329.8 kB / 3.594 GB, free: 93.61 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/6.645, allocations: 226.3 kB / 3.594 GB, free: 93.61 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/6.645, allocations: 369.1 kB / 3.594 GB, free: 93.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/6.646, allocations: 282.8 kB / 3.595 GB, free: 93.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/6.646, allocations: 3.125 kB / 3.595 GB, free: 93.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008278/6.647, allocations: 0.6907 MB / 3.595 GB, free: 93.37 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.396e-05/6.647, allocations: 452.6 kB / 3.596 GB, free: 92.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/6.647, allocations: 3.125 kB / 3.596 GB, free: 92.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/6.647, allocations: 3.781 kB / 3.596 GB, free: 92.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/6.647, allocations: 137.8 kB / 3.596 GB, free: 92.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/6.647, allocations: 9.297 kB / 3.596 GB, free: 92.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007881/6.648, allocations: 131.1 kB / 3.596 GB, free: 92.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/6.648, allocations: 22.69 kB / 3.596 GB, free: 92.89 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/6.648, allocations: 6.406 kB / 3.596 GB, free: 92.89 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007214/6.649, allocations: 0.5749 MB / 3.597 GB, free: 92.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.315e-06/6.649, allocations: 0 / 3.597 GB, free: 92.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-06/6.649, allocations: 3.906 kB / 3.597 GB, free: 92.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/6.649, allocations: 131.1 kB / 3.597 GB, free: 92.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/6.649, allocations: 6.688 kB / 3.597 GB, free: 92.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007391/6.65, allocations: 132.1 kB / 3.597 GB, free: 92.87 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/6.65, allocations: 21.72 kB / 3.597 GB, free: 92.87 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 () * 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.0001061/6.65, allocations: 141 kB / 3.597 GB, free: 92.76 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/6.65, allocations: 99.16 kB / 3.597 GB, free: 92.71 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000983/6.651, allocations: 0.7296 MB / 3.598 GB, free: 92.65 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/6.652, allocations: 7.812 kB / 3.598 GB, free: 92.65 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/6.652, allocations: 0 / 3.598 GB, free: 92.65 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007195/6.652, allocations: 0.8786 MB / 3.599 GB, free: 92.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/6.655, allocations: 2.185 MB / 3.601 GB, free: 91.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/6.655, allocations: 7.453 kB / 3.601 GB, free: 91.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/6.656, allocations: 152.8 kB / 3.601 GB, free: 91.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/6.656, allocations: 6.875 kB / 3.601 GB, free: 91.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/6.656, allocations: 20.39 kB / 3.601 GB, free: 91.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/6.656, allocations: 6.531 kB / 3.601 GB, free: 91.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/6.656, allocations: 6.125 kB / 3.601 GB, free: 91.57 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/6.657, allocations: 1.326 MB / 3.602 GB, free: 91.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003083/6.657, allocations: 263.8 kB / 3.603 GB, free: 90.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/6.657, allocations: 17.94 kB / 3.603 GB, free: 90.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008454/6.658, allocations: 127.1 kB / 3.603 GB, free: 90.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.776e-05/6.658, allocations: 57.5 kB / 3.603 GB, free: 90.89 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/6.658, allocations: 22.06 kB / 3.603 GB, free: 90.89 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005838/6.659, allocations: 0.5598 MB / 3.603 GB, free: 90.77 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.082e-06/6.659, allocations: 0 / 3.603 GB, free: 90.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001733/6.661, allocations: 0.7723 MB / 3.604 GB, free: 90.74 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 () * 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.004372/6.665, allocations: 4.977 MB / 3.609 GB, free: 88.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001113/6.666, allocations: 0.9094 MB / 3.61 GB, free: 88.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/6.666, allocations: 3.844 kB / 3.61 GB, free: 88.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003686/6.667, allocations: 320.9 kB / 3.61 GB, free: 88.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002845/6.669, allocations: 0.6595 MB / 3.611 GB, free: 88.06 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002857/6.672, allocations: 1.998 MB / 3.613 GB, free: 87.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/6.673, allocations: 1.148 MB / 3.614 GB, free: 86.79 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001349/6.674, allocations: 380.2 kB / 3.614 GB, free: 86.78 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004482/6.675, allocations: 390.5 kB / 3.615 GB, free: 86.77 MB / 0.7136 GB Notification: Performance of SimCode: time 4.11e-07/6.675, allocations: 0 / 3.615 GB, free: 86.77 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08999/6.765, allocations: 70.77 MB / 3.684 GB, free: 84.67 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001376/6.765, allocations: 209.2 kB / 3.684 GB, free: 84.45 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.957/10.72, allocations: 0 / 3.684 GB, free: 84.45 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)