Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.453/1.453, allocations: 251.9 MB / 266.9 MB, free: 11.06 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001352/0.001352, allocations: 191 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 0.5775 GB, free: 20.25 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009349/0.0009347, allocations: 97.56 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.000374, allocations: 9.156 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2046, allocations: 106.3 MB / 0.9001 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.7273/0.932, allocations: 196.9 MB / 1.092 GB, free: 3.355 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01143/0.9435, allocations: 7.294 MB / 1.1 GB, free: 3.258 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.9451, allocations: 41.56 kB / 1.1 GB, free: 3.258 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002625/0.9478, allocations: 0.6717 MB / 1.1 GB, free: 3.258 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007412/0.9552, allocations: 1.924 MB / 1.102 GB, free: 3.234 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005687/0.9609, allocations: 1.677 MB / 1.104 GB, free: 3.207 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003524/0.9645, allocations: 1.206 MB / 1.105 GB, free: 3.203 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001429/0.9659, allocations: 0.6362 MB / 1.106 GB, free: 3.129 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003482/0.9694, allocations: 1.191 MB / 1.107 GB, free: 3.121 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.9705, allocations: 478.5 kB / 1.107 GB, free: 3.121 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.9706, allocations: 44.56 kB / 1.107 GB, free: 3.121 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002124/0.9728, allocations: 0.7895 MB / 1.108 GB, free: 3.121 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.973, allocations: 245.8 kB / 1.108 GB, free: 3.121 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002739/0.9733, allocations: 195.5 kB / 1.108 GB, free: 3.086 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.9747, allocations: 1.012 MB / 1.109 GB, free: 3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.9747, allocations: 0 / 1.109 GB, free: 3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.983e-06/0.9747, allocations: 0 / 1.109 GB, free: 3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.9747, allocations: 0 / 1.109 GB, free: 3 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002138/0.9768, allocations: 1.106 MB / 1.11 GB, free: 18.31 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.9769, allocations: 10.56 kB / 1.111 GB, free: 18.31 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.977, allocations: 89.94 kB / 1.111 GB, free: 18.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.9786, allocations: 298 kB / 1.111 GB, free: 18.22 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.9797, allocations: 0.6307 MB / 1.111 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.99e-05/0.9797, allocations: 39.12 kB / 1.112 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.487e-05/0.9798, allocations: 56.72 kB / 1.112 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.9808, allocations: 0.6099 MB / 1.112 GB, free: 17.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.9809, allocations: 1.062 kB / 1.112 GB, free: 17.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.509e-05/0.9809, allocations: 23.58 kB / 1.112 GB, free: 17.88 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.273e-05/0.9809, allocations: 10.69 kB / 1.112 GB, free: 17.88 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.982, allocations: 0.6337 MB / 1.113 GB, free: 17.87 MB / 0.7136 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.003648/0.9856, allocations: 2.622 MB / 1.115 GB, free: 16.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009431/0.9866, allocations: 0.4988 MB / 1.116 GB, free: 16.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004071/0.987, allocations: 143.9 kB / 1.116 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.987, allocations: 40.81 kB / 1.116 GB, free: 16.4 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006505/0.9877, allocations: 188.9 kB / 1.116 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=45): time 2.625e-06/0.9877, allocations: 0 / 1.116 GB, free: 16.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.002462/0.9902, allocations: 1.119 MB / 1.117 GB, free: 16.16 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/0.9903, allocations: 59.72 kB / 1.117 GB, free: 16.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007516/0.991, allocations: 0.645 MB / 1.118 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.379e-05/0.9911, allocations: 39.7 kB / 1.118 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.9913, allocations: 341.8 kB / 1.118 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.9915, allocations: 163 kB / 1.119 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.9915, allocations: 5.312 kB / 1.119 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.9916, allocations: 325.3 kB / 1.119 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/0.992, allocations: 228.8 kB / 1.119 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004544/0.9925, allocations: 320.4 kB / 1.119 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004374/0.9929, allocations: 259.6 kB / 1.12 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.9929, allocations: 0 / 1.12 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001276/0.9942, allocations: 0.7219 MB / 1.12 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001211/0.9943, allocations: 272.5 kB / 1.121 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.9944, allocations: 0 / 1.121 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004019/0.9948, allocations: 89.17 kB / 1.121 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/0.9952, allocations: 100 kB / 1.121 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004905/0.9957, allocations: 0.6215 MB / 1.121 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006542/0.9964, allocations: 68.14 kB / 1.121 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.9965, allocations: 23.39 kB / 1.121 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.9965, allocations: 9.188 kB / 1.121 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001014/0.9975, allocations: 0.589 MB / 1.122 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.9975, allocations: 3.031 kB / 1.122 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.9977, allocations: 62.69 kB / 1.122 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.9981, allocations: 102.8 kB / 1.122 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.9996, allocations: 1.7 MB / 1.124 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/1, allocations: 66.66 kB / 1.124 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/1, allocations: 21.38 kB / 1.124 GB, free: 12.99 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003952/1.001, allocations: 294.1 kB / 1.124 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/1.001, allocations: 81.72 kB / 1.124 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001395/1.002, allocations: 0.7691 MB / 1.125 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/1.002, allocations: 5.312 kB / 1.125 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/1.002, allocations: 0 / 1.125 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/1.002, allocations: 4.781 kB / 1.125 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/1.005, allocations: 1.678 MB / 1.127 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.005, allocations: 2.844 kB / 1.127 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/1.005, allocations: 89.89 kB / 1.127 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001686/1.005, allocations: 69.44 kB / 1.127 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/1.006, allocations: 17.03 kB / 1.127 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003893/1.006, allocations: 0.6217 MB / 1.127 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/1.006, allocations: 8.984 kB / 1.127 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001769/1.008, allocations: 1.333 MB / 1.129 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003494/1.008, allocations: 207.4 kB / 1.129 GB, free: 11.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.08e-05/1.008, allocations: 19.94 kB / 1.129 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005784/1.009, allocations: 69.97 kB / 1.129 GB, free: 11 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.997e-05/1.009, allocations: 48.89 kB / 1.129 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.612e-05/1.009, allocations: 16.25 kB / 1.129 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006419/1.01, allocations: 460.7 kB / 1.13 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.21e-07/1.01, allocations: 2.812 kB / 1.13 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001174/1.011, allocations: 370.9 kB / 1.13 GB, free: 10.87 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (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 (42): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002872/1.014, allocations: 2.879 MB / 1.133 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002196/1.016, allocations: 0.9905 MB / 1.134 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.016, allocations: 4.812 kB / 1.134 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007227/1.017, allocations: 312.4 kB / 1.134 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002334/1.019, allocations: 453.1 kB / 1.134 GB, free: 8.719 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01028/1.029, allocations: 5.189 MB / 1.14 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000533/1.03, allocations: 0.9842 MB / 1.14 GB, free: 5.457 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001053/1.031, allocations: 223.4 kB / 1.141 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/1.031, allocations: 283.8 kB / 1.141 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of SimCode: time 8.12e-07/1.031, allocations: 0 / 1.141 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04291/1.074, allocations: 22.6 MB / 1.163 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/1.074, allocations: 281.2 kB / 1.163 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/3.735, allocations: 0 / 1.163 GB, free: 8.426 MB / 0.7292 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Validation_FlowJunctionSteadyState.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState.pipe 2>&1)