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.00113/0.001131, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001123/0.001123, allocations: 190.7 kB / 16.14 MB, free: 6.707 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.277/1.277, allocations: 205.1 MB / 222 MB, free: 4.754 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.549/1.549, allocations: 292.3 MB / 0.5484 GB, free: 13.66 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.002536/0.002536, allocations: 68.55 kB / 0.6709 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2326, allocations: 114.5 MB / 0.7828 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.6463/0.879, allocations: 237.7 MB / 1.015 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01031/0.8893, allocations: 7.225 MB / 1.022 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001656/0.891, allocations: 47.94 kB / 1.022 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.8927, allocations: 0.5796 MB / 1.023 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004481/0.8972, allocations: 1.948 MB / 1.025 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004246/0.9015, allocations: 1.851 MB / 1.026 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.004664/0.9062, allocations: 4.417 MB / 1.031 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001586/0.9078, allocations: 0.9359 MB / 1.032 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004258/0.912, allocations: 1.59 MB / 1.033 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00192/0.914, allocations: 0.9909 MB / 1.034 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001478/0.9141, allocations: 69.19 kB / 1.034 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005181/0.9193, allocations: 2.842 MB / 1.037 GB, free: 7.574 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004045/0.9197, allocations: 398.5 kB / 1.037 GB, free: 7.316 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000704/0.9205, allocations: 0.6496 MB / 1.038 GB, free: 6.918 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003623/0.9241, allocations: 2.773 MB / 1.041 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.9241, allocations: 0 / 1.041 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.062e-06/0.9241, allocations: 0 / 1.041 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.9241, allocations: 0 / 1.041 GB, free: 5.152 MB / 0.7481 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.002497/0.9266, allocations: 1.703 MB / 1.042 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.9267, allocations: 9.781 kB / 1.042 GB, free: 3.863 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001436/0.9268, allocations: 130.1 kB / 1.042 GB, free: 3.754 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002619/0.9294, allocations: 422.6 kB / 1.043 GB, free: 3.562 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001372/0.9308, allocations: 0.9564 MB / 1.044 GB, free: 2.809 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.9309, allocations: 65.22 kB / 1.044 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.931, allocations: 84.16 kB / 1.044 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.9324, allocations: 0.8616 MB / 1.045 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.9325, allocations: 0 / 1.045 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/0.9325, allocations: 35.95 kB / 1.045 GB, free: 2.234 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.9326, allocations: 33.03 kB / 1.045 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001365/0.934, allocations: 0.8036 MB / 1.046 GB, free: 1.828 MB / 0.7481 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.004173/0.9381, allocations: 3.619 MB / 1.049 GB, free: 14.74 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001398/0.9395, allocations: 1.109 MB / 1.05 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005522/0.9401, allocations: 366.8 kB / 1.051 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006709/0.9408, allocations: 409 kB / 1.051 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.9408, allocations: 39.44 kB / 1.051 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=60): time 2.254e-06/0.9408, allocations: 0 / 1.051 GB, free: 13.19 MB / 0.7637 GB Notification: Performance of matching and sorting (n=60): time 0.001964/0.9428, allocations: 0.9534 MB / 1.052 GB, free: 12.72 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.9429, allocations: 61.59 kB / 1.052 GB, free: 12.65 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009325/0.9438, allocations: 0.8309 MB / 1.053 GB, free: 12.18 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.9439, allocations: 38.11 kB / 1.053 GB, free: 12.14 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/0.9442, allocations: 483.7 kB / 1.053 GB, free: 11.72 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001683/0.9444, allocations: 214 kB / 1.054 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001726/0.9446, allocations: 116.4 kB / 1.054 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.9447, allocations: 326.7 kB / 1.054 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004521/0.9451, allocations: 250.6 kB / 1.054 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000537/0.9457, allocations: 370.1 kB / 1.055 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.9467, allocations: 0.5918 MB / 1.055 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9467, allocations: 0 / 1.055 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001409/0.9481, allocations: 0.7345 MB / 1.056 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.9482, allocations: 9.5 kB / 1.056 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.9482, allocations: 0.9375 kB / 1.056 GB, free: 10.06 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.9482, allocations: 11.72 kB / 1.056 GB, free: 10.05 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005577/0.9488, allocations: 129.9 kB / 1.056 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.9488, allocations: 4.312 kB / 1.056 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008973/0.9497, allocations: 117.7 kB / 1.056 GB, free: 9.949 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.332e-05/0.9498, allocations: 24 kB / 1.056 GB, free: 9.926 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008078/0.9506, allocations: 493 kB / 1.057 GB, free: 9.438 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005512/0.9511, allocations: 372.2 kB / 1.057 GB, free: 9.043 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000964/0.9521, allocations: 0.5813 MB / 1.058 GB, free: 8.445 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.9521, allocations: 0 / 1.058 GB, free: 8.445 MB / 0.7637 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001235/0.9534, allocations: 0.7165 MB / 1.058 GB, free: 7.723 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/0.9534, allocations: 8.125 kB / 1.058 GB, free: 7.715 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.9534, allocations: 4 kB / 1.058 GB, free: 7.711 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.641e-06/0.9534, allocations: 4 kB / 1.058 GB, free: 7.707 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005151/0.9539, allocations: 123.8 kB / 1.058 GB, free: 7.586 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.9539, allocations: 4 kB / 1.058 GB, free: 7.582 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008079/0.9547, allocations: 115.5 kB / 1.058 GB, free: 7.469 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.9548, allocations: 23.98 kB / 1.058 GB, free: 7.445 MB / 0.7637 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.0001708/0.955, allocations: 214.9 kB / 1.059 GB, free: 7.23 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/0.9551, allocations: 98.78 kB / 1.059 GB, free: 7.133 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.9564, allocations: 0.7478 MB / 1.06 GB, free: 6.379 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.9565, allocations: 4 kB / 1.06 GB, free: 6.375 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.9565, allocations: 0 / 1.06 GB, free: 6.375 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001159/0.9576, allocations: 0.9034 MB / 1.06 GB, free: 5.383 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/0.961, allocations: 2.236 MB / 1.063 GB, free: 3.012 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.719e-06/0.9611, allocations: 4 kB / 1.063 GB, free: 3.008 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006425/0.9617, allocations: 144.2 kB / 1.063 GB, free: 2.867 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.166e-06/0.9617, allocations: 4 kB / 1.063 GB, free: 2.863 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.825e-05/0.9618, allocations: 16 kB / 1.063 GB, free: 2.848 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.127e-05/0.9618, allocations: 19.86 kB / 1.063 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.9618, allocations: 0 / 1.063 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.9637, allocations: 1.256 MB / 1.064 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004348/0.9641, allocations: 259.8 kB / 1.064 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000127/0.9643, allocations: 16 kB / 1.064 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008022/0.9651, allocations: 99.86 kB / 1.064 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.9652, allocations: 60.25 kB / 1.064 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.127e-05/0.9653, allocations: 24 kB / 1.064 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007373/0.966, allocations: 0.5821 MB / 1.065 GB, free: 460 kB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.966, allocations: 0 / 1.065 GB, free: 460 kB / 0.7637 GB Notification: Performance of remove unused functions: time 0.00131/0.9673, allocations: 0.5299 MB / 1.066 GB, free: 15.92 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.002532/0.9699, allocations: 1.934 MB / 1.067 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001712/0.9716, allocations: 0.9392 MB / 1.068 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.9716, allocations: 0 / 1.068 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005679/0.9722, allocations: 343.2 kB / 1.069 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/0.975, allocations: 0.6245 MB / 1.069 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/0.987, allocations: 8.319 MB / 1.077 GB, free: 3.379 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006886/0.9877, allocations: 1.124 MB / 1.078 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001352/0.9891, allocations: 300.1 kB / 1.079 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006031/0.9897, allocations: 415.3 kB / 1.079 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of SimCode: time 1.012e-06/0.9897, allocations: 0 / 1.079 GB, free: 1.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05947/1.049, allocations: 28.37 MB / 1.107 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/1.049, allocations: 248.3 kB / 1.107 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.468/3.518, allocations: 0 / 1.107 GB, free: 5.297 MB / 0.8106 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)