Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.493/2.493, allocations: 284.9 MB / 292.4 MB, free: 10.52 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.001511/0.00151, allocations: 184.8 kB / 360.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.034/2.034, allocations: 205.2 MB / 0.6191 GB, free: 12.23 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.001116/0.001116, allocations: 86.09 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.485e-05/2.51e-05, allocations: 7.984 kB / 0.8508 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7877/0.7877, allocations: 115.3 MB / 0.9634 GB, free: 78.61 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.921/6.708, allocations: 2.081 GB / 3.045 GB, free: 37.66 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003588/6.709, allocations: 88.14 kB / 3.045 GB, free: 37.62 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.135/11.84, allocations: 0.9063 GB / 3.951 GB, free: 161.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.214e-06/11.84, allocations: 0 / 3.951 GB, free: 161.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001952/11.84, allocations: 41.77 kB / 3.951 GB, free: 161.8 MB / 0.948 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.005329/11.85, allocations: 1.529 MB / 3.953 GB, free: 161.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/11.85, allocations: 11.59 kB / 3.953 GB, free: 161.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004363/11.85, allocations: 412 kB / 3.953 GB, free: 161 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003967/11.86, allocations: 1.064 MB / 3.954 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.73e-05/11.86, allocations: 24.56 kB / 3.954 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002453/11.86, allocations: 58.52 kB / 3.954 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002008/11.86, allocations: 0.6736 MB / 3.955 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/11.86, allocations: 0.6847 MB / 3.956 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.923e-05/11.86, allocations: 0 / 3.956 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001082/11.86, allocations: 0 / 3.956 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.384e-05/11.86, allocations: 30.97 kB / 3.956 GB, free: 160.7 MB / 0.948 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.00813/11.87, allocations: 3.485 MB / 3.959 GB, free: 159.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/11.87, allocations: 1.051 MB / 3.96 GB, free: 158.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008835/11.87, allocations: 324.1 kB / 3.96 GB, free: 158.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001078/11.88, allocations: 399.9 kB / 3.961 GB, free: 158.2 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.499e-05/11.88, allocations: 50.61 kB / 3.961 GB, free: 158.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 5.34e-06/11.88, allocations: 0 / 3.961 GB, free: 158.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.003209/11.88, allocations: 0.7168 MB / 3.961 GB, free: 158 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/11.88, allocations: 54.84 kB / 3.961 GB, free: 158 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/11.88, allocations: 0.5942 MB / 3.962 GB, free: 157.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000212/11.88, allocations: 29.42 kB / 3.962 GB, free: 157.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004004/11.88, allocations: 484.1 kB / 3.963 GB, free: 157.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/11.88, allocations: 207 kB / 3.963 GB, free: 157.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.321e-05/11.88, allocations: 0 / 3.963 GB, free: 157.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.02e-05/11.88, allocations: 326.7 kB / 3.963 GB, free: 157.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004991/11.88, allocations: 217.7 kB / 3.963 GB, free: 157.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006072/11.88, allocations: 361.6 kB / 3.964 GB, free: 157.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/11.88, allocations: 354 kB / 3.964 GB, free: 157.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/11.88, allocations: 3.094 kB / 3.964 GB, free: 157.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002036/11.89, allocations: 0.7137 MB / 3.965 GB, free: 157 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/11.89, allocations: 448.1 kB / 3.965 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/11.89, allocations: 7.5 kB / 3.965 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/11.89, allocations: 6.344 kB / 3.965 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/11.89, allocations: 136.2 kB / 3.965 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/11.89, allocations: 5.688 kB / 3.965 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/11.89, allocations: 106.1 kB / 3.965 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.306e-05/11.89, allocations: 25.97 kB / 3.965 GB, free: 156.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/11.89, allocations: 6.375 kB / 3.965 GB, free: 156.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001684/11.89, allocations: 0.583 MB / 3.966 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/11.89, allocations: 0 / 3.966 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/11.89, allocations: 7.453 kB / 3.966 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/11.89, allocations: 135.6 kB / 3.966 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/11.89, allocations: 3.5 kB / 3.966 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001764/11.89, allocations: 115.4 kB / 3.966 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-05/11.89, allocations: 28.88 kB / 3.966 GB, free: 156.5 MB / 0.948 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.0002358/11.89, allocations: 113.2 kB / 3.966 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00195/11.9, allocations: 0.6662 MB / 3.967 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001873/11.9, allocations: 97.38 kB / 3.967 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002666/11.9, allocations: 0.7388 MB / 3.968 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/11.9, allocations: 7.578 kB / 3.968 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/11.9, allocations: 0 / 3.968 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00282/11.9, allocations: 0.9166 MB / 3.969 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008799/11.91, allocations: 2.083 MB / 3.971 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.464e-05/11.91, allocations: 5.672 kB / 3.971 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001575/11.91, allocations: 156.7 kB / 3.971 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/11.91, allocations: 8.125 kB / 3.971 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.423e-05/11.91, allocations: 15.89 kB / 3.971 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/11.91, allocations: 3.031 kB / 3.971 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/11.91, allocations: 10.64 kB / 3.971 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/11.91, allocations: 1.33 MB / 3.972 GB, free: 154.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000847/11.92, allocations: 255.8 kB / 3.972 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/11.92, allocations: 13.92 kB / 3.972 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/11.92, allocations: 114.1 kB / 3.973 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/11.92, allocations: 49.61 kB / 3.973 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.826e-05/11.92, allocations: 21.44 kB / 3.973 GB, free: 154.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008625/11.92, allocations: 472.8 kB / 3.973 GB, free: 154.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.11e-07/11.92, allocations: 0 / 3.973 GB, free: 154.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002559/11.92, allocations: 0.6777 MB / 3.974 GB, free: 154.4 MB / 0.948 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.007173/11.93, allocations: 5.247 MB / 3.979 GB, free: 151.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002148/11.93, allocations: 0.8615 MB / 3.98 GB, free: 151.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/11.93, allocations: 2.844 kB / 3.98 GB, free: 151.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000679/11.93, allocations: 302.5 kB / 3.98 GB, free: 151.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005556/11.94, allocations: 0.6154 MB / 3.981 GB, free: 151.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005077/11.94, allocations: 1.918 MB / 3.982 GB, free: 151.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000749/11.94, allocations: 1.152 MB / 3.984 GB, free: 150.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0024/11.95, allocations: 344.6 kB / 3.984 GB, free: 150.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007673/11.95, allocations: 391.1 kB / 3.984 GB, free: 150.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.583e-06/11.95, allocations: 0 / 3.984 GB, free: 150.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1203/12.07, allocations: 45.02 MB / 4.028 GB, free: 145 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/12.07, allocations: 175.8 kB / 4.028 GB, free: 144.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.474/16.54, allocations: 3.938 kB / 4.028 GB, free: 144.8 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)