Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 289.7 MB / 302.3 MB, free: 2.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001259/0.001259, allocations: 184 kB / 371.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.793/1.793, allocations: 205.1 MB / 0.6309 GB, free: 11.77 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009095/0.0009092, allocations: 90.42 kB / 0.745 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.504e-05/4.508e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3198, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.785/6.105, allocations: 2.083 GB / 3.063 GB, free: 158 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/6.106, allocations: 89.27 kB / 3.063 GB, free: 158 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.657/9.763, allocations: 0.9165 GB / 3.98 GB, free: 131.5 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.513e-06/9.763, allocations: 0 / 3.98 GB, free: 131.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001171/9.763, allocations: 40.06 kB / 3.98 GB, free: 131.5 MB / 0.9636 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.003303/9.766, allocations: 1.529 MB / 3.981 GB, free: 131.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/9.766, allocations: 8.656 kB / 3.981 GB, free: 131.1 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/9.766, allocations: 123.6 kB / 3.981 GB, free: 131 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/9.769, allocations: 413.1 kB / 3.982 GB, free: 131 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/9.771, allocations: 1.068 MB / 3.983 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/9.771, allocations: 63.53 kB / 3.983 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/9.771, allocations: 83.69 kB / 3.983 GB, free: 130.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/9.773, allocations: 0.7943 MB / 3.984 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/9.773, allocations: 1.125 kB / 3.984 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.51e-05/9.773, allocations: 33.66 kB / 3.984 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-05/9.773, allocations: 28.28 kB / 3.984 GB, free: 130.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/9.774, allocations: 0.7109 MB / 3.984 GB, free: 130.6 MB / 0.9636 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.004509/9.779, allocations: 3.67 MB / 3.988 GB, free: 129 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/9.78, allocations: 1.06 MB / 3.989 GB, free: 128.5 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/9.78, allocations: 346.2 kB / 3.989 GB, free: 128.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005699/9.781, allocations: 401.2 kB / 3.99 GB, free: 128.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/9.781, allocations: 40.44 kB / 3.99 GB, free: 128 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=60): time 2.745e-06/9.781, allocations: 2.906 kB / 3.99 GB, free: 128 MB / 0.9636 GB Notification: Performance of matching and sorting (n=60): time 0.0014/9.782, allocations: 0.6687 MB / 3.99 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/9.782, allocations: 57.62 kB / 3.99 GB, free: 127.9 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008491/9.783, allocations: 0.7116 MB / 3.991 GB, free: 127.7 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.155e-05/9.783, allocations: 42.42 kB / 3.991 GB, free: 127.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/9.783, allocations: 483 kB / 3.992 GB, free: 127.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/9.784, allocations: 207.9 kB / 3.992 GB, free: 127.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.12e-05/9.784, allocations: 12.41 kB / 3.992 GB, free: 127.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.286e-05/9.784, allocations: 329.1 kB / 3.992 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003204/9.784, allocations: 229 kB / 3.992 GB, free: 127.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/9.784, allocations: 379.8 kB / 3.993 GB, free: 127 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/9.785, allocations: 272.2 kB / 3.993 GB, free: 127 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/9.785, allocations: 3.531 kB / 3.993 GB, free: 127 MB / 0.9636 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001004/9.786, allocations: 0.6853 MB / 3.994 GB, free: 126.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/9.786, allocations: 458.1 kB / 3.994 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/9.786, allocations: 3.281 kB / 3.994 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/9.786, allocations: 5.719 kB / 3.994 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/9.787, allocations: 132 kB / 3.994 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/9.787, allocations: 6.953 kB / 3.994 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/9.788, allocations: 131.9 kB / 3.994 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.443e-05/9.788, allocations: 26.98 kB / 3.994 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/9.788, allocations: 6.156 kB / 3.994 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008335/9.789, allocations: 0.5718 MB / 3.995 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.945e-06/9.789, allocations: 0 / 3.995 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.581e-06/9.789, allocations: 3.125 kB / 3.995 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005384/9.789, allocations: 137.3 kB / 3.995 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/9.789, allocations: 2.781 kB / 3.995 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009285/9.79, allocations: 132.3 kB / 3.995 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/9.79, allocations: 19.88 kB / 3.995 GB, free: 126.4 MB / 0.9636 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.0001714/9.79, allocations: 146.1 kB / 3.995 GB, free: 126.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/9.791, allocations: 104.7 kB / 3.995 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/9.792, allocations: 0.7232 MB / 3.996 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/9.792, allocations: 8.625 kB / 3.996 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/9.792, allocations: 1.312 kB / 3.996 GB, free: 126.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000814/9.793, allocations: 0.877 MB / 3.997 GB, free: 125.7 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003567/9.796, allocations: 2.186 MB / 3.999 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/9.796, allocations: 6.281 kB / 3.999 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/9.797, allocations: 160.7 kB / 3.999 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.056e-05/9.797, allocations: 5.969 kB / 3.999 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-05/9.797, allocations: 13.25 kB / 3.999 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/9.797, allocations: 6.188 kB / 3.999 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/9.797, allocations: 12.42 kB / 3.999 GB, free: 125.1 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/9.798, allocations: 1.325 MB / 4.001 GB, free: 124.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005046/9.799, allocations: 261.4 kB / 4.001 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/9.799, allocations: 16.09 kB / 4.001 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009266/9.8, allocations: 127.6 kB / 4.001 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/9.8, allocations: 53.84 kB / 4.001 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.52e-05/9.8, allocations: 27.53 kB / 4.001 GB, free: 124.4 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0007168/9.801, allocations: 0.561 MB / 4.002 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.7e-07/9.801, allocations: 0 / 4.002 GB, free: 124.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002343/9.803, allocations: 0.7594 MB / 4.002 GB, free: 124.3 MB / 0.9636 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.005375/9.809, allocations: 4.988 MB / 4.007 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001515/9.81, allocations: 0.9033 MB / 4.008 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/9.81, allocations: 3 kB / 4.008 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0004277/9.811, allocations: 316 kB / 4.008 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003635/9.814, allocations: 0.6769 MB / 4.009 GB, free: 121.6 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003763/9.818, allocations: 1.995 MB / 4.011 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/9.819, allocations: 1.148 MB / 4.012 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.001477/9.82, allocations: 382.2 kB / 4.013 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006351/9.821, allocations: 389.5 kB / 4.013 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of SimCode: time 1.903e-06/9.821, allocations: 0 / 4.013 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1423/9.963, allocations: 70.72 MB / 4.082 GB, free: 118.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/9.963, allocations: 192.8 kB / 4.082 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.848/14.81, allocations: 0 / 4.082 GB, free: 118.3 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)