Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005013/0.005013, allocations: 96.91 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 191.7 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002192/0.002192, allocations: 287 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.082/1.082, allocations: 169.3 MB / 0.4983 GB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002009/0.002009, allocations: 99.84 kB / 0.681 GB, free: 15.97 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1516, allocations: 86.97 MB / 0.7659 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.5622/0.7138, allocations: 239.9 MB / 1 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01078/0.7247, allocations: 7.16 MB / 1.007 GB, free: 11.85 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001518/0.7262, allocations: 51.69 kB / 1.007 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.001465/0.7277, allocations: 0.5162 MB / 1.008 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003156/0.7309, allocations: 1.376 MB / 1.009 GB, free: 9.898 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.003659/0.7346, allocations: 1.63 MB / 1.011 GB, free: 8.273 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.002355/0.7369, allocations: 1.946 MB / 1.013 GB, free: 6.32 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001158/0.7381, allocations: 0.8011 MB / 1.013 GB, free: 5.504 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002769/0.7409, allocations: 1.456 MB / 1.015 GB, free: 4.043 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001002/0.7419, allocations: 0.6692 MB / 1.015 GB, free: 3.371 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0001803/0.7421, allocations: 72 kB / 1.015 GB, free: 3.301 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002755/0.7449, allocations: 1.485 MB / 1.017 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003967/0.7453, allocations: 295.1 kB / 1.017 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0007116/0.746, allocations: 481.7 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002565/0.7486, allocations: 1.647 MB / 1.019 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.7486, allocations: 0 / 1.019 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7486, allocations: 0 / 1.019 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.789e-05/0.7486, allocations: 0 / 1.019 GB, free: 15.4 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.002591/0.7512, allocations: 1.287 MB / 1.02 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.7513, allocations: 8.031 kB / 1.02 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001339/0.7514, allocations: 94.52 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001798/0.7532, allocations: 283.1 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.7544, allocations: 0.7107 MB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.7545, allocations: 41 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.7546, allocations: 52 kB / 1.022 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001081/0.7557, allocations: 0.6036 MB / 1.022 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.7557, allocations: 0 / 1.022 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.95e-05/0.7558, allocations: 20 kB / 1.022 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/0.7558, allocations: 12 kB / 1.022 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.7569, allocations: 0.5973 MB / 1.023 GB, free: 11.59 MB / 0.7794 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.00376/0.7607, allocations: 2.889 MB / 1.026 GB, free: 8.457 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006544/0.7614, allocations: 397.5 kB / 1.026 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004681/0.7618, allocations: 273.3 kB / 1.026 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006561/0.7625, allocations: 404.7 kB / 1.027 GB, free: 7.324 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.7625, allocations: 38.83 kB / 1.027 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005513/0.7631, allocations: 107.7 kB / 1.027 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 1.823e-06/0.7631, allocations: 0 / 1.027 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.001825/0.7649, allocations: 0.8295 MB / 1.028 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.765, allocations: 59.34 kB / 1.028 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008048/0.7658, allocations: 0.6924 MB / 1.028 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.7659, allocations: 37.7 kB / 1.028 GB, free: 5.516 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.7661, allocations: 364.7 kB / 1.029 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001119/0.7663, allocations: 138.8 kB / 1.029 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.7664, allocations: 94.03 kB / 1.029 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.7665, allocations: 322 kB / 1.029 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/0.767, allocations: 204.6 kB / 1.029 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005029/0.7675, allocations: 305 kB / 1.03 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009008/0.7684, allocations: 0.4889 MB / 1.03 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.7684, allocations: 0 / 1.03 GB, free: 3.566 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001156/0.7696, allocations: 0.6257 MB / 1.031 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.7696, allocations: 4 kB / 1.031 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.7696, allocations: 0 / 1.031 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.7696, allocations: 4 kB / 1.031 GB, free: 2.926 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005607/0.7702, allocations: 103.8 kB / 1.031 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.7702, allocations: 11.92 kB / 1.031 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000556/0.7708, allocations: 37.56 kB / 1.031 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.855e-05/0.7708, allocations: 19.98 kB / 1.031 GB, free: 2.758 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002727/0.7711, allocations: 213.7 kB / 1.031 GB, free: 2.539 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.7713, allocations: 83.48 kB / 1.031 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.7725, allocations: 0.6532 MB / 1.032 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.7725, allocations: 11.94 kB / 1.032 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.7725, allocations: 7.875 kB / 1.032 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.7726, allocations: 0 / 1.032 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.775, allocations: 1.516 MB / 1.033 GB, free: 172 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.775, allocations: 4 kB / 1.033 GB, free: 168 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004899/0.7755, allocations: 87.83 kB / 1.034 GB, free: 80 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.7755, allocations: 4 kB / 1.034 GB, free: 76 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.7755, allocations: 12 kB / 1.034 GB, free: 64 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.7755, allocations: 4 kB / 1.034 GB, free: 60 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.7756, allocations: 4 kB / 1.034 GB, free: 56 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001649/0.7772, allocations: 1.058 MB / 1.035 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002811/0.7775, allocations: 200.6 kB / 1.035 GB, free: 14.73 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.7776, allocations: 19.98 kB / 1.035 GB, free: 14.71 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005225/0.7781, allocations: 27.97 kB / 1.035 GB, free: 14.68 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.757e-05/0.7782, allocations: 35.84 kB / 1.035 GB, free: 14.65 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.174e-05/0.7783, allocations: 19.98 kB / 1.035 GB, free: 14.63 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005844/0.7789, allocations: 499 kB / 1.035 GB, free: 14.14 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7789, allocations: 0 / 1.035 GB, free: 14.14 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0006619/0.7796, allocations: 203.8 kB / 1.036 GB, free: 13.95 MB / 0.795 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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00228/0.7818, allocations: 1.703 MB / 1.037 GB, free: 12.19 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001064/0.7829, allocations: 0.5195 MB / 1.038 GB, free: 11.67 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7829, allocations: 0 / 1.038 GB, free: 11.67 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005043/0.7834, allocations: 276.1 kB / 1.038 GB, free: 11.4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002049/0.7855, allocations: 469.2 kB / 1.038 GB, free: 10.96 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.7968, allocations: 6.446 MB / 1.045 GB, free: 4.262 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004855/0.7973, allocations: 0.9652 MB / 1.046 GB, free: 3.27 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006446/0.798, allocations: 174.3 kB / 1.046 GB, free: 3.094 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004184/0.7984, allocations: 287.3 kB / 1.046 GB, free: 2.812 MB / 0.795 GB Notification: Performance of SimCode: time 5.71e-07/0.7984, allocations: 4 kB / 1.046 GB, free: 2.809 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04851/0.8469, allocations: 23.05 MB / 1.069 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.791/9.638, allocations: 8.328 kB / 1.069 GB, free: 12.24 MB / 0.8262 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1)