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.001729/0.001729, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 199.1 kB / 16.54 MB, free: 6.672 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.48/1.48, allocations: 222.9 MB / 240.2 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002667/0.002667, allocations: 286.7 kB / 290.7 MB, free: 2.035 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.114/1.114, allocations: 178.6 MB / 0.5073 GB, free: 4.566 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002784/0.002784, allocations: 97.55 kB / 0.6065 GB, free: 24.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1604, allocations: 89.14 MB / 0.6936 GB, free: 4.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.FlowJunctionSteadyStateNoPressureDrop): time 0.5589/0.7193, allocations: 239.8 MB / 0.9278 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01235/0.7317, allocations: 7.16 MB / 0.9348 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001994/0.7337, allocations: 51.69 kB / 0.9349 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.7354, allocations: 0.5084 MB / 0.9354 GB, free: 3.758 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003644/0.739, allocations: 1.316 MB / 0.9366 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003932/0.743, allocations: 1.594 MB / 0.9382 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00285/0.7459, allocations: 1.936 MB / 0.9401 GB, free: 14.91 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001173/0.747, allocations: 0.8018 MB / 0.9409 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003231/0.7503, allocations: 1.401 MB / 0.9422 GB, free: 12.69 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.7513, allocations: 0.6731 MB / 0.9429 GB, free: 12.01 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.7515, allocations: 76 kB / 0.943 GB, free: 11.94 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002943/0.7544, allocations: 1.473 MB / 0.9444 GB, free: 10.46 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003462/0.7548, allocations: 291.1 kB / 0.9447 GB, free: 10.18 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005928/0.7554, allocations: 481.7 kB / 0.9451 GB, free: 9.703 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002817/0.7582, allocations: 1.613 MB / 0.9467 GB, free: 8.086 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.7582, allocations: 0 / 0.9467 GB, free: 8.086 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7582, allocations: 0 / 0.9467 GB, free: 8.086 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.505e-05/0.7583, allocations: 0 / 0.9467 GB, free: 8.086 MB / 0.67 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.002562/0.7608, allocations: 1.261 MB / 0.948 GB, free: 6.773 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.7609, allocations: 12.03 kB / 0.948 GB, free: 6.762 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.761, allocations: 90.52 kB / 0.9481 GB, free: 6.664 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.7628, allocations: 278.6 kB / 0.9483 GB, free: 6.391 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001397/0.7642, allocations: 0.667 MB / 0.949 GB, free: 5.676 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.366e-05/0.7643, allocations: 37 kB / 0.949 GB, free: 5.641 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.7644, allocations: 56 kB / 0.9491 GB, free: 5.586 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.7656, allocations: 0.5881 MB / 0.9496 GB, free: 4.992 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.7656, allocations: 0 / 0.9496 GB, free: 4.992 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.254e-05/0.7657, allocations: 20 kB / 0.9496 GB, free: 4.973 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/0.7657, allocations: 19.94 kB / 0.9497 GB, free: 4.953 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001202/0.7669, allocations: 0.6012 MB / 0.9503 GB, free: 4.352 MB / 0.67 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.004454/0.7714, allocations: 2.893 MB / 0.9531 GB, free: 1.211 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/0.7722, allocations: 388.1 kB / 0.9535 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/0.7727, allocations: 277.3 kB / 0.9537 GB, free: 0.5508 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007468/0.7735, allocations: 400.7 kB / 0.9541 GB, free: 88 kB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.605e-05/0.7735, allocations: 38.89 kB / 0.9541 GB, free: 40 kB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006322/0.7742, allocations: 111.4 kB / 0.9542 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=39): time 2.465e-06/0.7742, allocations: 4 kB / 0.9542 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39): time 0.001907/0.7761, allocations: 0.8103 MB / 0.955 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.7762, allocations: 63.33 kB / 0.9551 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009214/0.7771, allocations: 0.7001 MB / 0.9558 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.27e-05/0.7772, allocations: 37.7 kB / 0.9558 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003125/0.7775, allocations: 356.4 kB / 0.9562 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.7776, allocations: 134 kB / 0.9563 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.7778, allocations: 97.94 kB / 0.9564 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.7779, allocations: 318 kB / 0.9567 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004517/0.7784, allocations: 208.6 kB / 0.9569 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005633/0.779, allocations: 304.5 kB / 0.9572 GB, free: 12.85 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.78, allocations: 0.5042 MB / 0.9577 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.78, allocations: 0 / 0.9577 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001285/0.7813, allocations: 0.6132 MB / 0.9583 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.7813, allocations: 9.875 kB / 0.9583 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.7813, allocations: 0 / 0.9583 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.7814, allocations: 4 kB / 0.9583 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005601/0.7819, allocations: 100 kB / 0.9584 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.782, allocations: 11.88 kB / 0.9584 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005932/0.7826, allocations: 37.77 kB / 0.9584 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/0.7826, allocations: 19.98 kB / 0.9584 GB, free: 11.53 MB / 0.6856 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.0003446/0.783, allocations: 214.3 kB / 0.9586 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.7831, allocations: 83.05 kB / 0.9587 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.7846, allocations: 0.6439 MB / 0.9593 GB, free: 10.58 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.7846, allocations: 8 kB / 0.9594 GB, free: 10.57 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.7846, allocations: 7.922 kB / 0.9594 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.7846, allocations: 0 / 0.9594 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.7873, allocations: 1.521 MB / 0.9608 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.7873, allocations: 7.938 kB / 0.9609 GB, free: 8.938 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004929/0.7878, allocations: 87.88 kB / 0.9609 GB, free: 8.852 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.756e-06/0.7878, allocations: 4 kB / 0.9609 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.7879, allocations: 12 kB / 0.961 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.7879, allocations: 8.344 kB / 0.961 GB, free: 8.828 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.7879, allocations: 8 kB / 0.961 GB, free: 8.82 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.7897, allocations: 1.04 MB / 0.962 GB, free: 7.727 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/0.79, allocations: 204 kB / 0.9622 GB, free: 7.508 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.7902, allocations: 12 kB / 0.9622 GB, free: 7.496 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/0.7907, allocations: 29.91 kB / 0.9622 GB, free: 7.469 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.7908, allocations: 43.83 kB / 0.9623 GB, free: 7.426 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.7909, allocations: 16 kB / 0.9623 GB, free: 7.41 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007283/0.7916, allocations: 0.4912 MB / 0.9628 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7916, allocations: 0 / 0.9628 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0007137/0.7923, allocations: 191.8 kB / 0.9629 GB, free: 6.738 MB / 0.6856 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.002643/0.795, allocations: 1.714 MB / 0.9646 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001241/0.7962, allocations: 0.5266 MB / 0.9651 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.7962, allocations: 0 / 0.9651 GB, free: 4.438 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000583/0.7968, allocations: 276.7 kB / 0.9654 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002255/0.7991, allocations: 469.6 kB / 0.9658 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/0.8122, allocations: 6.686 MB / 0.9724 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006558/0.8129, allocations: 0.9613 MB / 0.9733 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008446/0.8138, allocations: 166.4 kB / 0.9735 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/0.8142, allocations: 287.3 kB / 0.9737 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of SimCode: time 1.022e-06/0.8142, allocations: 4 kB / 0.9737 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06183/0.8761, allocations: 22.89 MB / 0.9961 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/9.238, allocations: 8.047 kB / 0.9961 GB, free: 4.914 MB / 0.7169 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)