Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop,fileNamePrefix="IBPSA_latest_IBPSA_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.00111/0.00111, allocations: 106.1 kB / 16.27 MB, free: 5.977 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.001243/0.001243, allocations: 191.7 kB / 17.2 MB, free: 5.605 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.25/1.25, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7226/0.7226, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.89 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3049, allocations: 77.92 MB / 0.5673 GB, free: 32.95 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.5037/0.8086, allocations: 239.9 MB / 0.8015 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009191/0.8178, allocations: 7.156 MB / 0.8085 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.8192, allocations: 54.75 kB / 0.8085 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.8203, allocations: 0.5025 MB / 0.809 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00254/0.8229, allocations: 1.312 MB / 0.8103 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003082/0.8259, allocations: 1.597 MB / 0.8119 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.8277, allocations: 1.938 MB / 0.8138 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008132/0.8285, allocations: 0.7926 MB / 0.8145 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00219/0.8307, allocations: 1.414 MB / 0.8159 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005884/0.8313, allocations: 0.6683 MB / 0.8166 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001023/0.8314, allocations: 73.47 kB / 0.8166 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002563/0.834, allocations: 1.472 MB / 0.8181 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002583/0.8342, allocations: 291.3 kB / 0.8184 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004605/0.8347, allocations: 478.9 kB / 0.8188 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.8368, allocations: 1.607 MB / 0.8204 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.8368, allocations: 0 / 0.8204 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8368, allocations: 0.8125 kB / 0.8204 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.675e-05/0.8368, allocations: 2.094 kB / 0.8204 GB, free: 12.43 MB / 0.5762 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.001879/0.8387, allocations: 1.262 MB / 0.8216 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.8387, allocations: 10.19 kB / 0.8216 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.804e-05/0.8388, allocations: 90.03 kB / 0.8217 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001575/0.8404, allocations: 281.3 kB / 0.822 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008648/0.8413, allocations: 0.6469 MB / 0.8226 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.735e-05/0.8413, allocations: 41.16 kB / 0.8227 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.19e-05/0.8414, allocations: 51.38 kB / 0.8227 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008948/0.8423, allocations: 0.6108 MB / 0.8233 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.8423, allocations: 0 / 0.8233 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.258e-05/0.8424, allocations: 21.88 kB / 0.8233 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.8424, allocations: 10.41 kB / 0.8233 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009923/0.8434, allocations: 0.6022 MB / 0.8239 GB, free: 11.25 MB / 0.5762 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.003372/0.8468, allocations: 2.899 MB / 0.8268 GB, free: 9.844 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006062/0.8474, allocations: 400.8 kB / 0.8271 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/0.8478, allocations: 279 kB / 0.8274 GB, free: 9.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005579/0.8484, allocations: 400.4 kB / 0.8278 GB, free: 9.332 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.506e-05/0.8484, allocations: 37.86 kB / 0.8278 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004845/0.8489, allocations: 111.4 kB / 0.8279 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 2.365e-06/0.8489, allocations: 3.438 kB / 0.8279 GB, free: 9.254 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.001696/0.8506, allocations: 0.8202 MB / 0.8287 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.8506, allocations: 56.31 kB / 0.8288 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008144/0.8515, allocations: 0.6931 MB / 0.8295 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.8515, allocations: 37.2 kB / 0.8295 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/0.8517, allocations: 357.7 kB / 0.8298 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.867e-05/0.8518, allocations: 141.8 kB / 0.83 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.852, allocations: 89.89 kB / 0.8301 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.407e-05/0.852, allocations: 325.3 kB / 0.8304 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.8524, allocations: 203.9 kB / 0.8306 GB, free: 7.805 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004208/0.8528, allocations: 307.3 kB / 0.8309 GB, free: 7.602 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007693/0.8536, allocations: 0.4976 MB / 0.8313 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.8536, allocations: 0 / 0.8313 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009991/0.8546, allocations: 0.6109 MB / 0.8319 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.8546, allocations: 5.094 kB / 0.8319 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.8546, allocations: 0 / 0.8319 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.8547, allocations: 3.188 kB / 0.8319 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004949/0.8552, allocations: 105.6 kB / 0.832 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.8552, allocations: 6.938 kB / 0.8321 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004855/0.8557, allocations: 35.78 kB / 0.8321 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.633e-05/0.8557, allocations: 21.59 kB / 0.8321 GB, free: 6.949 MB / 0.5762 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.0002159/0.856, allocations: 225.6 kB / 0.8323 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.8561, allocations: 82.25 kB / 0.8324 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.8572, allocations: 0.6445 MB / 0.833 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.8572, allocations: 13.44 kB / 0.833 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.8572, allocations: 0 / 0.833 GB, free: 6.34 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.8572, allocations: 3.984 kB / 0.833 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.8593, allocations: 1.519 MB / 0.8345 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.8593, allocations: 2.594 kB / 0.8345 GB, free: 5.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004455/0.8598, allocations: 86.98 kB / 0.8346 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.8598, allocations: 5.094 kB / 0.8346 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.8598, allocations: 14.75 kB / 0.8346 GB, free: 5.258 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.8598, allocations: 11.95 kB / 0.8346 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.8599, allocations: 3.875 kB / 0.8347 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.8612, allocations: 1.049 MB / 0.8357 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.8614, allocations: 193.3 kB / 0.8359 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.8615, allocations: 28.2 kB / 0.8359 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004773/0.862, allocations: 26.97 kB / 0.8359 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.708e-05/0.8621, allocations: 34.22 kB / 0.8359 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.829e-05/0.8621, allocations: 20.36 kB / 0.836 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004653/0.8626, allocations: 0.4915 MB / 0.8364 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8626, allocations: 0 / 0.8364 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005506/0.8631, allocations: 203.4 kB / 0.8366 GB, free: 4.035 MB / 0.5762 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.00174/0.8649, allocations: 1.685 MB / 0.8383 GB, free: 2.793 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009085/0.8658, allocations: 0.5215 MB / 0.8388 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.8658, allocations: 7.219 kB / 0.8388 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.8662, allocations: 274.8 kB / 0.8391 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/0.8681, allocations: 472.9 kB / 0.8395 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.8786, allocations: 6.686 MB / 0.846 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004742/0.8791, allocations: 0.9652 MB / 0.847 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006977/0.8798, allocations: 174.4 kB / 0.8472 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/0.8802, allocations: 291.3 kB / 0.8474 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of SimCode: time 5.21e-07/0.8802, allocations: 0 / 0.8474 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04664/0.9268, allocations: 22.85 MB / 0.8697 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.692/8.618, allocations: 10.7 kB / 0.8698 GB, free: 3.996 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_FixedResistances_Validation_FlowJunctionSteadyStateNoPressureDrop.fmu > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop.pipe 2>&1)