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.001253/0.001253, allocations: 108 kB / 15.61 MB, free: 144 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.001336/0.001336, allocations: 194 kB / 16.53 MB, free: 6.66 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.223/1.223, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.541/1.541, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001345/0.001345, allocations: 70.2 kB / 0.6716 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2112, allocations: 114.6 MB / 0.7835 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.5967/0.8079, allocations: 239.9 MB / 1.018 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0124/0.8203, allocations: 7.145 MB / 1.025 GB, free: 7.969 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001862/0.8222, allocations: 50 kB / 1.025 GB, free: 7.949 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.8243, allocations: 0.6982 MB / 1.025 GB, free: 7.359 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005395/0.8297, allocations: 2.067 MB / 1.027 GB, free: 5.734 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004656/0.8344, allocations: 2.012 MB / 1.029 GB, free: 4.246 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003987/0.8384, allocations: 3.245 MB / 1.033 GB, free: 2.387 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.84, allocations: 1.134 MB / 1.034 GB, free: 1.684 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003713/0.8438, allocations: 1.776 MB / 1.035 GB, free: 0.5977 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/0.8459, allocations: 0.9689 MB / 1.036 GB, free: 16 kB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0003442/0.8462, allocations: 121 kB / 1.036 GB, free: 16 kB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004748/0.851, allocations: 2.483 MB / 1.039 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006013/0.8516, allocations: 464.5 kB / 1.039 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001448/0.8531, allocations: 0.7172 MB / 1.04 GB, free: 13.85 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.004563/0.8576, allocations: 2.665 MB / 1.043 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.8576, allocations: 0 / 1.043 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.373e-06/0.8576, allocations: 0 / 1.043 GB, free: 12.15 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.423e-05/0.8577, allocations: 0 / 1.043 GB, free: 12.15 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.00356/0.8613, allocations: 1.71 MB / 1.044 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.8613, allocations: 10.31 kB / 1.044 GB, free: 10.86 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002235/0.8616, allocations: 126.2 kB / 1.044 GB, free: 10.75 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002685/0.8643, allocations: 425 kB / 1.045 GB, free: 10.56 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/0.8658, allocations: 0.9513 MB / 1.046 GB, free: 9.809 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.8659, allocations: 65.22 kB / 1.046 GB, free: 9.777 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001153/0.866, allocations: 83.22 kB / 1.046 GB, free: 9.75 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.8675, allocations: 0.8715 MB / 1.047 GB, free: 9.25 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.8675, allocations: 0 / 1.047 GB, free: 9.25 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-05/0.8676, allocations: 34.86 kB / 1.047 GB, free: 9.223 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.8676, allocations: 27.59 kB / 1.047 GB, free: 9.223 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.869, allocations: 0.7995 MB / 1.048 GB, free: 8.777 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.004458/0.8734, allocations: 3.662 MB / 1.051 GB, free: 4.824 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001419/0.8749, allocations: 1.111 MB / 1.052 GB, free: 3.598 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005759/0.8755, allocations: 372.7 kB / 1.053 GB, free: 3.234 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006813/0.8762, allocations: 404.9 kB / 1.053 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.8762, allocations: 39.12 kB / 1.053 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=60): time 2.415e-06/0.8762, allocations: 0 / 1.053 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of matching and sorting (n=60): time 0.00205/0.8783, allocations: 0.9546 MB / 1.054 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.8783, allocations: 59.97 kB / 1.054 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000982/0.8793, allocations: 0.8433 MB / 1.055 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.072e-05/0.8794, allocations: 37.7 kB / 1.055 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.8797, allocations: 476.1 kB / 1.055 GB, free: 308 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001708/0.8799, allocations: 216.8 kB / 1.056 GB, free: 88 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001809/0.8801, allocations: 110.2 kB / 1.056 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.8802, allocations: 330 kB / 1.056 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004864/0.8807, allocations: 255 kB / 1.056 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005551/0.8812, allocations: 368.3 kB / 1.057 GB, free: 15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009671/0.8822, allocations: 0.5891 MB / 1.057 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.8822, allocations: 0 / 1.057 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001262/0.8835, allocations: 0.7359 MB / 1.058 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.8835, allocations: 8 kB / 1.058 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.8835, allocations: 0 / 1.058 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.8836, allocations: 5.938 kB / 1.058 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000543/0.8841, allocations: 127.8 kB / 1.058 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.8841, allocations: 8.125 kB / 1.058 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00074/0.8849, allocations: 70.72 kB / 1.058 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.138e-05/0.8849, allocations: 24 kB / 1.058 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000749/0.8857, allocations: 497 kB / 1.059 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005137/0.8862, allocations: 368.2 kB / 1.059 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009135/0.8871, allocations: 0.5851 MB / 1.06 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.826e-06/0.8872, allocations: 4 kB / 1.06 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001151/0.8883, allocations: 0.7203 MB / 1.06 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.8883, allocations: 4 kB / 1.06 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.8883, allocations: 4 kB / 1.06 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.152e-06/0.8883, allocations: 4 kB / 1.06 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.8889, allocations: 123.8 kB / 1.06 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.8889, allocations: 4 kB / 1.06 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007466/0.8896, allocations: 67.73 kB / 1.06 GB, free: 11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.341e-05/0.8897, allocations: 23.98 kB / 1.06 GB, free: 10.97 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.0002081/0.8899, allocations: 215.4 kB / 1.061 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.8901, allocations: 102.8 kB / 1.061 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.8915, allocations: 0.7457 MB / 1.061 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.8915, allocations: 4 kB / 1.061 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8915, allocations: 0 / 1.061 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00113/0.8926, allocations: 0.9034 MB / 1.062 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003157/0.8958, allocations: 2.239 MB / 1.065 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.8958, allocations: 4 kB / 1.065 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006233/0.8964, allocations: 144.2 kB / 1.065 GB, free: 6.391 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.8965, allocations: 4 kB / 1.065 GB, free: 6.387 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.461e-05/0.8965, allocations: 20.62 kB / 1.065 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.134e-05/0.8965, allocations: 8 kB / 1.065 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.8966, allocations: 11.88 kB / 1.065 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.8984, allocations: 1.252 MB / 1.066 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003824/0.8988, allocations: 259.7 kB / 1.066 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.8989, allocations: 24.12 kB / 1.066 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006332/0.8995, allocations: 46.39 kB / 1.066 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/0.8996, allocations: 48.2 kB / 1.066 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/0.8997, allocations: 23.98 kB / 1.066 GB, free: 4.625 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007306/0.9004, allocations: 0.5821 MB / 1.067 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9004, allocations: 4 kB / 1.067 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00117/0.9016, allocations: 0.5299 MB / 1.067 GB, free: 3.496 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.002325/0.9039, allocations: 1.939 MB / 1.069 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00187/0.9058, allocations: 1.001 MB / 1.07 GB, free: 0.4961 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.9058, allocations: 4.5 kB / 1.07 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005335/0.9064, allocations: 342.2 kB / 1.071 GB, free: 164 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.9089, allocations: 0.6003 MB / 1.071 GB, free: 15.57 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.919, allocations: 7.949 MB / 1.079 GB, free: 7.281 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006215/0.9197, allocations: 1.124 MB / 1.08 GB, free: 6.129 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001095/0.9208, allocations: 299.9 kB / 1.08 GB, free: 5.832 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004935/0.9213, allocations: 407.3 kB / 1.081 GB, free: 5.434 MB / 0.795 GB Notification: Performance of SimCode: time 8.62e-07/0.9213, allocations: 0 / 1.081 GB, free: 5.434 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.033/2.954, allocations: 29.09 MB / 1.109 GB, free: 8.742 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/14.94, allocations: 14.67 kB / 1.109 GB, free: 8.73 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_FixedResistances_Examples_FlowJunction.fmu > Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)