Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7762/0.7762, allocations: 127.4 MB / 134.9 MB, free: 3.504 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001228/0.001229, allocations: 166.8 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.2 MB / 399.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009167/0.0009167, allocations: 93.41 kB / 476.7 MB, free: 1.441 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.046e-05/3.071e-05, allocations: 5.562 kB / 0.5467 GB, free: 95.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1746, allocations: 76.78 MB / 0.6216 GB, free: 42.94 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.867/6.041, allocations: 2.158 GB / 2.78 GB, free: 186.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003471/6.042, allocations: 94.17 kB / 2.78 GB, free: 186.1 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.289/9.331, allocations: 0.8996 GB / 3.68 GB, free: 54.89 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.625e-06/9.331, allocations: 0 / 3.68 GB, free: 54.89 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001584/9.331, allocations: 39.41 kB / 3.68 GB, free: 54.86 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.004762/9.336, allocations: 1.519 MB / 3.681 GB, free: 53.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.535e-05/9.336, allocations: 12.03 kB / 3.681 GB, free: 53.29 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003028/9.339, allocations: 417.1 kB / 3.682 GB, free: 52.89 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/9.341, allocations: 1.154 MB / 3.683 GB, free: 51.71 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.855e-05/9.341, allocations: 24 kB / 3.683 GB, free: 51.69 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/9.341, allocations: 59.33 kB / 3.683 GB, free: 51.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001188/9.343, allocations: 0.6795 MB / 3.684 GB, free: 50.96 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/9.344, allocations: 0.6829 MB / 3.684 GB, free: 50.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/9.344, allocations: 0 / 3.684 GB, free: 50.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.095e-05/9.344, allocations: 4 kB / 3.684 GB, free: 50.26 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.09e-05/9.344, allocations: 30 kB / 3.684 GB, free: 50.23 MB / 0.6511 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.00456/9.349, allocations: 3.425 MB / 3.688 GB, free: 46.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/9.35, allocations: 1.051 MB / 3.689 GB, free: 45.42 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/9.35, allocations: 319 kB / 3.689 GB, free: 45.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006228/9.351, allocations: 400.3 kB / 3.689 GB, free: 44.64 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/9.351, allocations: 39.12 kB / 3.689 GB, free: 44.59 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=59): time 4.048e-06/9.351, allocations: 0 / 3.689 GB, free: 44.59 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59): time 0.002117/9.353, allocations: 0.7594 MB / 3.69 GB, free: 43.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/9.353, allocations: 63.86 kB / 3.69 GB, free: 43.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006557/9.354, allocations: 0.5594 MB / 3.691 GB, free: 43.18 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/9.354, allocations: 25.7 kB / 3.691 GB, free: 43.15 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000293/9.354, allocations: 0.4908 MB / 3.691 GB, free: 42.66 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/9.354, allocations: 200.9 kB / 3.691 GB, free: 42.46 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/9.354, allocations: 0 / 3.691 GB, free: 42.46 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.215e-05/9.354, allocations: 330 kB / 3.692 GB, free: 42.13 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/9.355, allocations: 217.1 kB / 3.692 GB, free: 41.91 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003715/9.355, allocations: 351.9 kB / 3.692 GB, free: 41.53 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005969/9.356, allocations: 341.9 kB / 3.693 GB, free: 41.19 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/9.356, allocations: 4 kB / 3.693 GB, free: 41.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001217/9.357, allocations: 0.7203 MB / 3.693 GB, free: 40.46 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001423/9.357, allocations: 371.9 kB / 3.694 GB, free: 40.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/9.357, allocations: 0 / 3.694 GB, free: 40.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/9.357, allocations: 4 kB / 3.694 GB, free: 40.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006773/9.358, allocations: 143.8 kB / 3.694 GB, free: 39.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/9.358, allocations: 4 kB / 3.694 GB, free: 39.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/9.359, allocations: 107.4 kB / 3.694 GB, free: 39.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/9.359, allocations: 30.61 kB / 3.694 GB, free: 39.79 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/9.359, allocations: 4 kB / 3.694 GB, free: 39.79 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009388/9.36, allocations: 0.5714 MB / 3.695 GB, free: 39.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/9.36, allocations: 0 / 3.695 GB, free: 39.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/9.36, allocations: 7.953 kB / 3.695 GB, free: 39.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/9.36, allocations: 135.8 kB / 3.695 GB, free: 39.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/9.36, allocations: 0 / 3.695 GB, free: 39.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008047/9.361, allocations: 95.7 kB / 3.695 GB, free: 38.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/9.361, allocations: 20 kB / 3.695 GB, free: 38.96 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.0001778/9.361, allocations: 122.5 kB / 3.695 GB, free: 38.84 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001066/9.363, allocations: 0.6696 MB / 3.696 GB, free: 38.16 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001242/9.363, allocations: 102.6 kB / 3.696 GB, free: 38.06 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/9.364, allocations: 0.7346 MB / 3.696 GB, free: 37.32 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.832e-06/9.364, allocations: 8 kB / 3.696 GB, free: 37.31 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/9.364, allocations: 0 / 3.696 GB, free: 37.31 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/9.365, allocations: 0.9111 MB / 3.697 GB, free: 36.31 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003259/9.368, allocations: 2.044 MB / 3.699 GB, free: 34.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/9.368, allocations: 4 kB / 3.699 GB, free: 34.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000749/9.369, allocations: 166.9 kB / 3.699 GB, free: 34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/9.369, allocations: 8 kB / 3.699 GB, free: 33.99 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.5e-05/9.369, allocations: 4 kB / 3.699 GB, free: 33.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.755e-06/9.369, allocations: 11.98 kB / 3.699 GB, free: 33.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/9.369, allocations: 7.953 kB / 3.699 GB, free: 33.96 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/9.371, allocations: 1.373 MB / 3.701 GB, free: 32.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004482/9.371, allocations: 239.8 kB / 3.701 GB, free: 32.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/9.371, allocations: 4 kB / 3.701 GB, free: 32.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008902/9.372, allocations: 95.69 kB / 3.701 GB, free: 32.11 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/9.372, allocations: 48.33 kB / 3.701 GB, free: 32.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.048e-05/9.372, allocations: 27.98 kB / 3.701 GB, free: 32.04 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005461/9.373, allocations: 443.1 kB / 3.702 GB, free: 31.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.4e-07/9.373, allocations: 4 kB / 3.702 GB, free: 31.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001989/9.375, allocations: 0.6587 MB / 3.702 GB, free: 30.95 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (59): * Single equations (assignments): 59 * 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.006418/9.381, allocations: 5.252 MB / 3.707 GB, free: 25.76 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001492/9.383, allocations: 0.8792 MB / 3.708 GB, free: 24.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/9.383, allocations: 0 / 3.708 GB, free: 24.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003813/9.383, allocations: 309.4 kB / 3.709 GB, free: 24.58 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002833/9.386, allocations: 0.4968 MB / 3.709 GB, free: 24.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003852/9.39, allocations: 1.939 MB / 3.711 GB, free: 22.11 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000649/9.391, allocations: 1.152 MB / 3.712 GB, free: 20.92 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001611/9.392, allocations: 346.5 kB / 3.712 GB, free: 20.59 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/9.393, allocations: 403.3 kB / 3.713 GB, free: 20.2 MB / 0.6511 GB Notification: Performance of SimCode: time 1.092e-06/9.393, allocations: 4 kB / 3.713 GB, free: 20.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.66/10.05, allocations: 44.38 MB / 3.756 GB, free: 89.04 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002085/10.05, allocations: 187 kB / 3.756 GB, free: 88.85 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.698/13.75, allocations: 3.344 kB / 3.756 GB, free: 88.85 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)