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.005736/0.005736, allocations: 99.5 kB / 15.73 MB, free: 6.055 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.001412/0.001412, allocations: 191.8 kB / 16.67 MB, free: 5.973 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002512/0.002512, allocations: 283 kB / 290.8 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.008/1.008, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002754/0.002754, allocations: 96.36 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1597, allocations: 86.97 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.5882/0.7479, allocations: 239.9 MB / 1 GB, free: 2.988 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01227/0.7602, allocations: 7.163 MB / 1.007 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.762, allocations: 51.69 kB / 1.007 GB, free: 11.77 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.7635, allocations: 0.5084 MB / 1.008 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.003432/0.767, allocations: 1.303 MB / 1.009 GB, free: 9.945 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004052/0.771, allocations: 1.601 MB / 1.011 GB, free: 8.348 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.003041/0.7741, allocations: 1.944 MB / 1.012 GB, free: 6.395 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.7754, allocations: 0.7972 MB / 1.013 GB, free: 5.582 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003216/0.7787, allocations: 1.417 MB / 1.015 GB, free: 4.16 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001106/0.7798, allocations: 0.6615 MB / 1.015 GB, free: 3.496 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.7799, allocations: 76 kB / 1.015 GB, free: 3.422 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002964/0.7829, allocations: 1.473 MB / 1.017 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0003615/0.7833, allocations: 291.1 kB / 1.017 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0006336/0.7839, allocations: 481.7 kB / 1.017 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003015/0.787, allocations: 1.643 MB / 1.019 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.787, allocations: 0 / 1.019 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.884e-06/0.787, allocations: 4 kB / 1.019 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.137e-05/0.787, allocations: 4 kB / 1.019 GB, free: 15.53 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.002573/0.7896, allocations: 1.295 MB / 1.02 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.7897, allocations: 12.03 kB / 1.02 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001213/0.7898, allocations: 86.52 kB / 1.02 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.7916, allocations: 283.2 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001314/0.7929, allocations: 0.7108 MB / 1.021 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.58e-05/0.793, allocations: 37 kB / 1.021 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.7931, allocations: 52 kB / 1.021 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.7943, allocations: 0.5959 MB / 1.022 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.7943, allocations: 3.938 kB / 1.022 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.73e-05/0.7944, allocations: 20 kB / 1.022 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.7944, allocations: 19.98 kB / 1.022 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.7956, allocations: 0.5973 MB / 1.023 GB, free: 11.72 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.004318/0.8, allocations: 2.874 MB / 1.025 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007319/0.8007, allocations: 407.9 kB / 1.026 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000517/0.8012, allocations: 281.3 kB / 1.026 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006974/0.802, allocations: 404.7 kB / 1.027 GB, free: 7.449 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.802, allocations: 30.89 kB / 1.027 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006027/0.8026, allocations: 111.7 kB / 1.027 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=39): time 2.575e-06/0.8026, allocations: 4 kB / 1.027 GB, free: 7.297 MB / 0.7794 GB Notification: Performance of matching and sorting (n=39): time 0.001963/0.8046, allocations: 0.8217 MB / 1.027 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.8047, allocations: 63.28 kB / 1.028 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009919/0.8057, allocations: 0.6924 MB / 1.028 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.248e-05/0.8057, allocations: 33.7 kB / 1.028 GB, free: 5.648 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.8061, allocations: 364.7 kB / 1.029 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.8062, allocations: 146.8 kB / 1.029 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.8064, allocations: 90.03 kB / 1.029 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.8066, allocations: 326 kB / 1.029 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004436/0.807, allocations: 205.2 kB / 1.029 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005582/0.8076, allocations: 301 kB / 1.03 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009743/0.8086, allocations: 0.4889 MB / 1.03 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.8086, allocations: 3.938 kB / 1.03 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001315/0.8099, allocations: 0.6218 MB / 1.031 GB, free: 3.062 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.8099, allocations: 8.156 kB / 1.031 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.8099, allocations: 6.062 kB / 1.031 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.81, allocations: 0 / 1.031 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/0.8105, allocations: 99.86 kB / 1.031 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.8105, allocations: 7.938 kB / 1.031 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005799/0.8111, allocations: 31.95 kB / 1.031 GB, free: 2.914 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.259e-05/0.8112, allocations: 19.98 kB / 1.031 GB, free: 2.895 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.0003384/0.8115, allocations: 221.7 kB / 1.031 GB, free: 2.668 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.8117, allocations: 79.48 kB / 1.031 GB, free: 2.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.8131, allocations: 0.6542 MB / 1.032 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.8132, allocations: 4 kB / 1.032 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.8132, allocations: 3.938 kB / 1.032 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.8132, allocations: 3.938 kB / 1.032 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/0.8158, allocations: 1.524 MB / 1.033 GB, free: 308 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.329e-06/0.8158, allocations: 4 kB / 1.033 GB, free: 304 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/0.8163, allocations: 84.3 kB / 1.033 GB, free: 220 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.8163, allocations: 12 kB / 1.033 GB, free: 208 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/0.8164, allocations: 8 kB / 1.033 GB, free: 200 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.8164, allocations: 4 kB / 1.033 GB, free: 196 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.8164, allocations: 7.938 kB / 1.033 GB, free: 188 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.8182, allocations: 1.054 MB / 1.034 GB, free: 15.08 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003216/0.8185, allocations: 208.5 kB / 1.035 GB, free: 14.86 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.8187, allocations: 11.98 kB / 1.035 GB, free: 14.84 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/0.8192, allocations: 35.97 kB / 1.035 GB, free: 14.81 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.8193, allocations: 31.91 kB / 1.035 GB, free: 14.78 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-05/0.8193, allocations: 19.94 kB / 1.035 GB, free: 14.76 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006938/0.82, allocations: 495 kB / 1.035 GB, free: 14.28 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.82, allocations: 4 kB / 1.035 GB, free: 14.27 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0007059/0.8207, allocations: 199.8 kB / 1.035 GB, free: 14.08 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.002574/0.8233, allocations: 1.71 MB / 1.037 GB, free: 12.32 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.8245, allocations: 0.5076 MB / 1.038 GB, free: 11.81 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.8245, allocations: 4 kB / 1.038 GB, free: 11.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005629/0.8251, allocations: 284.7 kB / 1.038 GB, free: 11.53 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002042/0.8271, allocations: 468.2 kB / 1.038 GB, free: 11.09 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.8394, allocations: 6.446 MB / 1.045 GB, free: 4.398 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006254/0.84, allocations: 0.9652 MB / 1.046 GB, free: 3.406 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0006722/0.8407, allocations: 174.4 kB / 1.046 GB, free: 3.23 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004745/0.8412, allocations: 287.3 kB / 1.046 GB, free: 2.949 MB / 0.795 GB Notification: Performance of SimCode: time 4.51e-07/0.8412, allocations: 0 / 1.046 GB, free: 2.949 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05632/0.8975, allocations: 23.05 MB / 1.068 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.288/10.19, allocations: 15.27 kB / 1.068 GB, free: 12.38 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)