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.7156/0.7156, allocations: 128.7 MB / 143.7 MB, free: 2.312 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.000987/0.000987, allocations: 188.4 kB / 173.7 MB, free: 6.121 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.625/1.625, allocations: 205.4 MB / 409 MB, free: 10.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.0009012/0.0009011, allocations: 99.59 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003519, allocations: 9.594 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1692, allocations: 76.77 MB / 0.6354 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.062/5.231, allocations: 2.159 GB / 2.795 GB, free: 216.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003476/5.231, allocations: 100.5 kB / 2.795 GB, free: 216.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.986/8.218, allocations: 0.9107 GB / 3.705 GB, free: 51.37 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.644e-06/8.218, allocations: 0 / 3.705 GB, free: 51.37 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001823/8.218, allocations: 39.98 kB / 3.705 GB, free: 51.33 MB / 0.6667 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.004827/8.223, allocations: 1.748 MB / 3.707 GB, free: 49.55 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/8.223, allocations: 12.03 kB / 3.707 GB, free: 49.54 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003845/8.223, allocations: 130.9 kB / 3.707 GB, free: 49.4 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002908/8.226, allocations: 410 kB / 3.708 GB, free: 49 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002687/8.229, allocations: 1.155 MB / 3.709 GB, free: 47.8 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.875e-05/8.229, allocations: 62 kB / 3.709 GB, free: 47.74 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000225/8.229, allocations: 95.89 kB / 3.709 GB, free: 47.64 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/8.232, allocations: 0.9052 MB / 3.71 GB, free: 46.73 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.453e-05/8.232, allocations: 0 / 3.71 GB, free: 46.73 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.926e-05/8.232, allocations: 32 kB / 3.71 GB, free: 46.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.227e-05/8.232, allocations: 32.52 kB / 3.71 GB, free: 46.68 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/8.234, allocations: 0.8744 MB / 3.711 GB, free: 45.8 MB / 0.6667 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.004793/8.239, allocations: 3.591 MB / 3.714 GB, free: 41.93 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/8.24, allocations: 1.187 MB / 3.715 GB, free: 40.63 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005505/8.241, allocations: 400.9 kB / 3.716 GB, free: 40.16 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.326e-05/8.241, allocations: 47.12 kB / 3.716 GB, free: 40.11 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=59): time 4.469e-06/8.241, allocations: 0 / 3.716 GB, free: 40.11 MB / 0.6667 GB Notification: Performance of matching and sorting (n=59): time 0.003139/8.244, allocations: 1.117 MB / 3.717 GB, free: 38.99 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/8.244, allocations: 63.95 kB / 3.717 GB, free: 38.91 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009336/8.245, allocations: 0.6818 MB / 3.718 GB, free: 38.21 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.011e-05/8.245, allocations: 37.7 kB / 3.718 GB, free: 38.17 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/8.246, allocations: 496.1 kB / 3.718 GB, free: 37.68 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/8.246, allocations: 205 kB / 3.718 GB, free: 37.47 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/8.246, allocations: 12 kB / 3.718 GB, free: 37.46 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 6.743e-05/8.246, allocations: 326 kB / 3.719 GB, free: 37.14 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/8.246, allocations: 277 kB / 3.719 GB, free: 36.87 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005729/8.247, allocations: 419.6 kB / 3.719 GB, free: 36.41 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005661/8.247, allocations: 329.6 kB / 3.72 GB, free: 36.09 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/8.247, allocations: 0 / 3.72 GB, free: 36.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001367/8.249, allocations: 0.7827 MB / 3.72 GB, free: 35.3 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.375e-05/8.249, allocations: 366.3 kB / 3.721 GB, free: 34.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/8.249, allocations: 0 / 3.721 GB, free: 34.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/8.249, allocations: 5.859 kB / 3.721 GB, free: 34.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/8.25, allocations: 139.8 kB / 3.721 GB, free: 34.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/8.25, allocations: 15.94 kB / 3.721 GB, free: 34.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/8.251, allocations: 115.5 kB / 3.721 GB, free: 34.64 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/8.251, allocations: 31.98 kB / 3.721 GB, free: 34.61 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/8.251, allocations: 4 kB / 3.721 GB, free: 34.61 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000956/8.252, allocations: 0.6261 MB / 3.722 GB, free: 33.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/8.252, allocations: 4 kB / 3.722 GB, free: 33.98 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.062e-06/8.252, allocations: 0 / 3.722 GB, free: 33.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005175/8.252, allocations: 131.8 kB / 3.722 GB, free: 33.85 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/8.252, allocations: 12.08 kB / 3.722 GB, free: 33.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009356/8.253, allocations: 119.4 kB / 3.722 GB, free: 33.72 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.892e-05/8.253, allocations: 20 kB / 3.722 GB, free: 33.7 MB / 0.6667 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 () * Number of clocked 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.0005598/8.254, allocations: 388.9 kB / 3.722 GB, free: 33.31 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/8.254, allocations: 102.8 kB / 3.722 GB, free: 33.21 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/8.256, allocations: 0.8053 MB / 3.723 GB, free: 32.4 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.634e-06/8.256, allocations: 8 kB / 3.723 GB, free: 32.39 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/8.256, allocations: 3.938 kB / 3.723 GB, free: 32.39 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001159/8.257, allocations: 0.9658 MB / 3.724 GB, free: 31.33 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003635/8.261, allocations: 2.215 MB / 3.726 GB, free: 28.99 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/8.261, allocations: 4.375 kB / 3.726 GB, free: 28.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007864/8.261, allocations: 159.8 kB / 3.727 GB, free: 28.83 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/8.261, allocations: 7.953 kB / 3.727 GB, free: 28.82 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/8.261, allocations: 23.98 kB / 3.727 GB, free: 28.8 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.802e-06/8.261, allocations: 7.938 kB / 3.727 GB, free: 28.79 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/8.262, allocations: 7.938 kB / 3.727 GB, free: 28.79 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/8.264, allocations: 1.479 MB / 3.728 GB, free: 27.18 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005435/8.264, allocations: 255.7 kB / 3.728 GB, free: 26.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/8.264, allocations: 15.95 kB / 3.728 GB, free: 26.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009751/8.265, allocations: 99.94 kB / 3.728 GB, free: 26.8 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/8.265, allocations: 44.31 kB / 3.728 GB, free: 26.75 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.951e-05/8.265, allocations: 27.98 kB / 3.728 GB, free: 26.73 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006971/8.266, allocations: 0.5544 MB / 3.729 GB, free: 26.16 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.2e-07/8.266, allocations: 0 / 3.729 GB, free: 26.16 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00239/8.269, allocations: 0.7409 MB / 3.73 GB, free: 25.42 MB / 0.6667 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 () * Number of clocked 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.006008/8.275, allocations: 5.104 MB / 3.735 GB, free: 20.11 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001885/8.276, allocations: 1.002 MB / 3.736 GB, free: 19.11 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/8.277, allocations: 0 / 3.736 GB, free: 19.11 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006226/8.277, allocations: 370.9 kB / 3.736 GB, free: 18.75 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/8.28, allocations: 0.5561 MB / 3.737 GB, free: 18.21 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/8.29, allocations: 6.712 MB / 3.743 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/8.291, allocations: 1.143 MB / 3.744 GB, free: 10.08 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00126/8.292, allocations: 292.1 kB / 3.744 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005426/8.293, allocations: 411.3 kB / 3.745 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of SimCode: time 1.393e-06/8.293, allocations: 0 / 3.745 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4766/8.769, allocations: 62.54 MB / 3.806 GB, free: 91.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001706/8.77, allocations: 235.2 kB / 3.806 GB, free: 91.06 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.901/12.67, allocations: 0 / 3.806 GB, free: 91.06 MB / 0.6823 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)