Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction",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.001137/0.001137, allocations: 109.4 kB / 15.69 MB, free: 128 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.001322/0.001322, allocations: 187.1 kB / 16.62 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 74.67 kB / 0.6718 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2796, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.8392/1.119, allocations: 239.9 MB / 1.018 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01341/1.132, allocations: 7.137 MB / 1.025 GB, free: 7.855 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002737/1.135, allocations: 50 kB / 1.025 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002449/1.138, allocations: 0.6941 MB / 1.026 GB, free: 7.25 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007598/1.145, allocations: 2.067 MB / 1.028 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.006218/1.152, allocations: 2.033 MB / 1.03 GB, free: 4.117 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005801/1.157, allocations: 3.245 MB / 1.033 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002307/1.16, allocations: 1.133 MB / 1.034 GB, free: 1.535 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005062/1.165, allocations: 1.793 MB / 1.036 GB, free: 428 kB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/1.167, allocations: 0.9637 MB / 1.037 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0004518/1.168, allocations: 120.6 kB / 1.037 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00579/1.174, allocations: 2.487 MB / 1.039 GB, free: 14.46 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0009061/1.175, allocations: 463.7 kB / 1.04 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001706/1.176, allocations: 0.7207 MB / 1.04 GB, free: 13.66 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.006836/1.183, allocations: 2.682 MB / 1.043 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/1.183, allocations: 0 / 1.043 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.633e-06/1.183, allocations: 0 / 1.043 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.318e-05/1.183, allocations: 0 / 1.043 GB, free: 11.96 MB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.004929/1.188, allocations: 1.706 MB / 1.045 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.188, allocations: 14.16 kB / 1.045 GB, free: 10.67 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003257/1.189, allocations: 128.1 kB / 1.045 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00294/1.192, allocations: 423.2 kB / 1.045 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/1.194, allocations: 1.002 MB / 1.046 GB, free: 9.598 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.911e-05/1.194, allocations: 69.23 kB / 1.046 GB, free: 9.562 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/1.194, allocations: 82.75 kB / 1.046 GB, free: 9.535 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/1.196, allocations: 0.8648 MB / 1.047 GB, free: 9.039 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/1.196, allocations: 2.125 kB / 1.047 GB, free: 9.039 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/1.196, allocations: 29.25 kB / 1.047 GB, free: 9.016 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.107e-05/1.196, allocations: 29.88 kB / 1.047 GB, free: 9.016 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/1.198, allocations: 0.8137 MB / 1.048 GB, free: 8.52 MB / 0.7637 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.006551/1.205, allocations: 3.627 MB / 1.051 GB, free: 4.602 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/1.206, allocations: 1.105 MB / 1.053 GB, free: 3.383 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006206/1.207, allocations: 368.7 kB / 1.053 GB, free: 3.023 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007502/1.208, allocations: 408.9 kB / 1.053 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/1.208, allocations: 39.12 kB / 1.053 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=60): time 3.016e-06/1.208, allocations: 0 / 1.053 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of matching and sorting (n=60): time 0.002508/1.21, allocations: 0.9584 MB / 1.054 GB, free: 1.535 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/1.21, allocations: 59.97 kB / 1.054 GB, free: 1.465 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/1.212, allocations: 0.8278 MB / 1.055 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 7.984e-05/1.212, allocations: 37.7 kB / 1.055 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004144/1.212, allocations: 484.1 kB / 1.056 GB, free: 92 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002581/1.212, allocations: 217 kB / 1.056 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/1.213, allocations: 110.2 kB / 1.056 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002287/1.213, allocations: 333.9 kB / 1.056 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/1.213, allocations: 251 kB / 1.056 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/1.214, allocations: 376.2 kB / 1.057 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/1.215, allocations: 0.5891 MB / 1.057 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.73e-06/1.215, allocations: 1.75 kB / 1.057 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001638/1.217, allocations: 0.7359 MB / 1.058 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.217, allocations: 8 kB / 1.058 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.217, allocations: 0 / 1.058 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/1.217, allocations: 4 kB / 1.058 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005768/1.218, allocations: 127.8 kB / 1.058 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/1.218, allocations: 5.562 kB / 1.058 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000955/1.218, allocations: 67.59 kB / 1.058 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.36e-05/1.219, allocations: 27.98 kB / 1.058 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008531/1.219, allocations: 0.4886 MB / 1.059 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005815/1.22, allocations: 368.2 kB / 1.059 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001029/1.221, allocations: 0.5774 MB / 1.06 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.981e-06/1.221, allocations: 4 kB / 1.06 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001396/1.222, allocations: 0.7164 MB / 1.06 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/1.223, allocations: 4.125 kB / 1.06 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.223, allocations: 11.98 kB / 1.06 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/1.223, allocations: 4 kB / 1.06 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005491/1.223, allocations: 123.8 kB / 1.061 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/1.223, allocations: 4 kB / 1.061 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008245/1.224, allocations: 65.83 kB / 1.061 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/1.224, allocations: 20 kB / 1.061 GB, free: 10.76 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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.0002253/1.224, allocations: 216.1 kB / 1.061 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002341/1.224, allocations: 98.78 kB / 1.061 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/1.226, allocations: 0.7485 MB / 1.062 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/1.226, allocations: 4 kB / 1.062 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.226, allocations: 3.938 kB / 1.062 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001236/1.227, allocations: 0.9034 MB / 1.063 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003986/1.231, allocations: 2.239 MB / 1.065 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/1.231, allocations: 4 kB / 1.065 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006594/1.232, allocations: 147.8 kB / 1.065 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.26e-05/1.232, allocations: 4 kB / 1.065 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.288e-05/1.232, allocations: 16 kB / 1.065 GB, free: 6.148 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.998e-06/1.232, allocations: 11.94 kB / 1.065 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.232, allocations: 384 / 1.065 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002331/1.234, allocations: 1.257 MB / 1.066 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005247/1.235, allocations: 264.5 kB / 1.066 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/1.235, allocations: 23.98 kB / 1.066 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007485/1.236, allocations: 35.95 kB / 1.066 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.236, allocations: 56.2 kB / 1.067 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/1.236, allocations: 23.98 kB / 1.067 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000997/1.237, allocations: 0.5782 MB / 1.067 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/1.237, allocations: 0 / 1.067 GB, free: 3.816 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001616/1.239, allocations: 0.5338 MB / 1.068 GB, free: 3.281 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],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 (60): * Single equations (assignments): 60 * 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.002884/1.242, allocations: 1.936 MB / 1.07 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001967/1.244, allocations: 0.9468 MB / 1.07 GB, free: 344 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.244, allocations: 0 / 1.07 GB, free: 344 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006258/1.244, allocations: 335.3 kB / 1.071 GB, free: 8 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003126/1.247, allocations: 0.6071 MB / 1.071 GB, free: 15.41 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01275/1.26, allocations: 7.554 MB / 1.079 GB, free: 7.629 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008407/1.261, allocations: 1.124 MB / 1.08 GB, free: 6.473 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001109/1.262, allocations: 299.9 kB / 1.08 GB, free: 6.176 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006052/1.263, allocations: 407.3 kB / 1.081 GB, free: 5.777 MB / 0.795 GB Notification: Performance of SimCode: time 7.51e-07/1.263, allocations: 3.938 kB / 1.081 GB, free: 5.773 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06323/1.326, allocations: 29.11 MB / 1.109 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.487/10.81, allocations: 7.797 kB / 1.109 GB, free: 9.09 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)