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.267/1.267, allocations: 251.5 MB / 266.7 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.0009339/0.0009339, allocations: 174.6 kB / 325.8 MB, free: 2.73 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.273/1.273, allocations: 205 MB / 0.576 GB, free: 21.02 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.0007155/0.0007155, allocations: 93.97 kB / 0.6797 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002685/0.0002685, allocations: 8.031 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1437, allocations: 105.4 MB / 0.8962 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.FlowJunctionSteadyState): time 0.4965/0.6402, allocations: 237.8 MB / 1.128 GB, free: 0.8516 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008649/0.6489, allocations: 7.343 MB / 1.136 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.6504, allocations: 46.44 kB / 1.136 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001054/0.6515, allocations: 423.7 kB / 1.136 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00217/0.6537, allocations: 1.234 MB / 1.137 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002906/0.6566, allocations: 1.552 MB / 1.139 GB, free: 0.5 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001848/0.6584, allocations: 2.771 MB / 1.141 GB, free: 500 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000662/0.6591, allocations: 0.6736 MB / 1.142 GB, free: 396 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.6612, allocations: 1.31 MB / 1.143 GB, free: 368 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007977/0.662, allocations: 0.6871 MB / 1.144 GB, free: 364 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001291/0.6621, allocations: 43.44 kB / 1.144 GB, free: 364 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003119/0.6653, allocations: 2.091 MB / 1.146 GB, free: 344 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002164/0.6655, allocations: 259.9 kB / 1.146 GB, free: 344 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.000357/0.6659, allocations: 449.8 kB / 1.147 GB, free: 304 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001933/0.6678, allocations: 1.838 MB / 1.149 GB, free: 92 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.6678, allocations: 3.188 kB / 1.149 GB, free: 92 kB / 0.698 GB Notification: Performance of FrontEnd: time 2.454e-06/0.6678, allocations: 3.125 kB / 1.149 GB, free: 92 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.144e-05/0.6678, allocations: 0 / 1.149 GB, free: 92 kB / 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.001773/0.6696, allocations: 1.145 MB / 1.15 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.6697, allocations: 8.062 kB / 1.15 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.654e-05/0.6698, allocations: 89.55 kB / 1.15 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.6711, allocations: 280.7 kB / 1.15 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000823/0.672, allocations: 0.6669 MB / 1.151 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.672, allocations: 42.52 kB / 1.151 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-05/0.6721, allocations: 53.44 kB / 1.151 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008776/0.673, allocations: 0.6223 MB / 1.151 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.673, allocations: 0 / 1.151 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.86e-05/0.6731, allocations: 19.28 kB / 1.151 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.6731, allocations: 11.59 kB / 1.151 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009232/0.674, allocations: 0.6311 MB / 1.152 GB, free: 14.9 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.002759/0.6768, allocations: 2.637 MB / 1.155 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007985/0.6776, allocations: 499.8 kB / 1.155 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004449/0.678, allocations: 319.5 kB / 1.155 GB, free: 13.2 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005823/0.6786, allocations: 425.4 kB / 1.156 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.6787, allocations: 37.09 kB / 1.156 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005108/0.6792, allocations: 181.3 kB / 1.156 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=45): time 1.713e-06/0.6792, allocations: 3.938 kB / 1.156 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of matching and sorting (n=45): time 0.002262/0.6815, allocations: 1.126 MB / 1.157 GB, free: 12.04 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.6815, allocations: 61.61 kB / 1.157 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006063/0.6821, allocations: 0.6478 MB / 1.158 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.6822, allocations: 36.73 kB / 1.158 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.6824, allocations: 338.1 kB / 1.158 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001008/0.6825, allocations: 170.3 kB / 1.158 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/0.6825, allocations: 37.3 kB / 1.158 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.86e-05/0.6826, allocations: 320.4 kB / 1.159 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.683, allocations: 232 kB / 1.159 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004422/0.6835, allocations: 330.2 kB / 1.159 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007926/0.6843, allocations: 0.5277 MB / 1.16 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.6843, allocations: 0 / 1.16 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001248/0.6855, allocations: 0.7403 MB / 1.16 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.04e-05/0.6856, allocations: 110.7 kB / 1.161 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.6856, allocations: 0 / 1.161 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003728/0.686, allocations: 94.02 kB / 1.161 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/0.6864, allocations: 103.5 kB / 1.161 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003893/0.6868, allocations: 0.6124 MB / 1.161 GB, free: 9.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.6873, allocations: 76.75 kB / 1.161 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.811e-05/0.6874, allocations: 26.36 kB / 1.161 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.14e-06/0.6874, allocations: 3.594 kB / 1.161 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001003/0.6884, allocations: 0.5949 MB / 1.162 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.785e-06/0.6884, allocations: 0 / 1.162 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/0.6885, allocations: 61.86 kB / 1.162 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/0.6889, allocations: 101.6 kB / 1.162 GB, free: 8.648 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.6902, allocations: 1.695 MB / 1.164 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004922/0.6907, allocations: 66.62 kB / 1.164 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.6908, allocations: 22.52 kB / 1.164 GB, free: 7 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002437/0.691, allocations: 297.4 kB / 1.164 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.6911, allocations: 69.72 kB / 1.164 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.6924, allocations: 0.7715 MB / 1.165 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-06/0.6924, allocations: 9.641 kB / 1.165 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.6924, allocations: 0 / 1.165 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.6924, allocations: 0 / 1.165 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.6946, allocations: 1.687 MB / 1.167 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.6946, allocations: 2.938 kB / 1.167 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003884/0.695, allocations: 89.48 kB / 1.167 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000145/0.6952, allocations: 71.39 kB / 1.167 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.6952, allocations: 13.47 kB / 1.167 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003267/0.6955, allocations: 0.624 MB / 1.167 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.6956, allocations: 4.688 kB / 1.167 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.6972, allocations: 1.189 MB / 1.169 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.6974, allocations: 206.2 kB / 1.169 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.38e-05/0.6975, allocations: 18.23 kB / 1.169 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/0.698, allocations: 73.47 kB / 1.169 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.558e-05/0.6981, allocations: 40.41 kB / 1.169 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-05/0.6982, allocations: 15.34 kB / 1.169 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004866/0.6987, allocations: 468.4 kB / 1.169 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6987, allocations: 0 / 1.169 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000854/0.6995, allocations: 383.6 kB / 1.17 GB, free: 3.168 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002096/0.7016, allocations: 1.818 MB / 1.172 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00158/0.7032, allocations: 0.9972 MB / 1.173 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7032, allocations: 0 / 1.173 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005214/0.7038, allocations: 314.2 kB / 1.173 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002234/0.706, allocations: 480.6 kB / 1.173 GB, free: 1 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.7169, allocations: 6.986 MB / 1.18 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.7174, allocations: 0.9733 MB / 1.181 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0008372/0.7182, allocations: 221.9 kB / 1.181 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/0.7186, allocations: 279.3 kB / 1.182 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of SimCode: time 7.12e-07/0.7186, allocations: 3.938 kB / 1.182 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6172/1.336, allocations: 22.55 MB / 1.204 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/1.336, allocations: 311 kB / 1.204 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.198/4.535, allocations: 0 / 1.204 GB, free: 4.285 MB / 0.7448 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)