Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.776/2.776, allocations: 287.3 MB / 302.3 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001664/0.001664, allocations: 174.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.177/2.177, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 89.36 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005266/0.0005267, allocations: 15.67 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2154/0.216, allocations: 115.3 MB / 0.9783 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.05733/0.2734, allocations: 38.47 MB / 1.016 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02299/0.2964, allocations: 9.832 MB / 1.025 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002431/0.2989, allocations: 51.69 kB / 1.026 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003224/0.3022, allocations: 0.6179 MB / 1.026 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.009/0.3112, allocations: 1.953 MB / 1.028 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007312/0.3186, allocations: 1.531 MB / 1.03 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.02391/0.3425, allocations: 12.04 MB / 1.041 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01498/0.3575, allocations: 6.411 MB / 1.048 GB, free: 5.168 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01215/0.3697, allocations: 4.586 MB / 1.052 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009595/0.3794, allocations: 3.683 MB / 1.056 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.002281/0.3817, allocations: 288 kB / 1.056 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00745/0.3892, allocations: 0.9911 MB / 1.057 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003721/0.393, allocations: 1.288 MB / 1.058 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.004073/0.3971, allocations: 1.568 MB / 1.06 GB, free: 8.723 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.7025/1.1, allocations: 10.09 MB / 1.069 GB, free: 23.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/1.1, allocations: 0 / 1.069 GB, free: 23.76 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.966e-06/1.1, allocations: 0.8438 kB / 1.069 GB, free: 23.76 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004546/1.1, allocations: 1.812 kB / 1.069 GB, free: 23.76 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1302 * Number of variables: 1302 Notification: Performance of Generate backend data structure: time 0.02462/1.125, allocations: 6.614 MB / 1.076 GB, free: 21.03 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/1.125, allocations: 8.562 kB / 1.076 GB, free: 21.03 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003907/1.129, allocations: 0.7168 MB / 1.077 GB, free: 20.96 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007038/1.136, allocations: 0.8478 MB / 1.077 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02597/1.162, allocations: 6.821 MB / 1.084 GB, free: 19.75 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008449/1.163, allocations: 419.4 kB / 1.085 GB, free: 19.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002882/1.166, allocations: 0.504 MB / 1.085 GB, free: 19.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0297/1.195, allocations: 7.593 MB / 1.092 GB, free: 18.81 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004209/1.196, allocations: 25.88 kB / 1.092 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002285/1.198, allocations: 227.3 kB / 1.093 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003342/1.199, allocations: 166 kB / 1.093 GB, free: 18.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.022/1.221, allocations: 6.04 MB / 1.099 GB, free: 18.75 MB / 0.6823 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.06864/1.289, allocations: 29.61 MB / 1.128 GB, free: 21.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01087/1.3, allocations: 3.594 MB / 1.131 GB, free: 20.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001913/1.302, allocations: 1 MB / 1.132 GB, free: 19.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/1.302, allocations: 74.59 kB / 1.132 GB, free: 19.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 7.114e-06/1.302, allocations: 0 / 1.132 GB, free: 19.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.01601/1.318, allocations: 4.666 MB / 1.137 GB, free: 18.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/1.319, allocations: 76.62 kB / 1.137 GB, free: 18.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01587/1.335, allocations: 6.577 MB / 1.143 GB, free: 15.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0008728/1.335, allocations: 84.08 kB / 1.143 GB, free: 15.16 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.004083/1.34, allocations: 2.94 MB / 1.146 GB, free: 12.61 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002067/1.342, allocations: 0.901 MB / 1.147 GB, free: 11.84 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003974/1.342, allocations: 67.22 kB / 1.147 GB, free: 11.79 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003709/1.342, allocations: 450.7 kB / 1.148 GB, free: 11.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004721/1.347, allocations: 1.61 MB / 1.149 GB, free: 10.55 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006078/1.353, allocations: 2.652 MB / 1.152 GB, free: 8.391 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00607/1.359, allocations: 2.204 MB / 1.154 GB, free: 7.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.32e-05/1.36, allocations: 11.62 kB / 1.154 GB, free: 7.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.01557/1.375, allocations: 4.918 MB / 1.159 GB, free: 4.895 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.006977/1.382, allocations: 15.03 MB / 1.173 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001059/1.382, allocations: 35.34 kB / 1.173 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001014/1.382, allocations: 54.38 kB / 1.174 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00693/1.389, allocations: 0.8775 MB / 1.174 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/1.391, allocations: 1.257 MB / 1.176 GB, free: 3.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009375/1.4, allocations: 0.6564 MB / 1.176 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009364/1.401, allocations: 160 kB / 1.176 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/1.401, allocations: 0 / 1.176 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01461/1.416, allocations: 4.414 MB / 1.181 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.152e-05/1.416, allocations: 32 kB / 1.181 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.955e-05/1.416, allocations: 59.95 kB / 1.181 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006757/1.423, allocations: 0.8533 MB / 1.182 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001261/1.423, allocations: 76 kB / 1.182 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009032/1.432, allocations: 0.5892 MB / 1.182 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009963/1.433, allocations: 158.5 kB / 1.182 GB, free: 12.77 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 142 * 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 (436): * Single equations (assignments): 434 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007863/1.441, allocations: 2.493 MB / 1.185 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003031/1.444, allocations: 0.552 MB / 1.185 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01906/1.463, allocations: 3.886 MB / 1.189 GB, free: 5.832 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.737e-05/1.463, allocations: 27.98 kB / 1.189 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.836e-05/1.463, allocations: 0 / 1.189 GB, free: 5.805 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009845/1.473, allocations: 2.981 MB / 1.192 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04148/1.515, allocations: 9.882 MB / 1.202 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-05/1.515, allocations: 0 / 1.202 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006085/1.521, allocations: 0.5571 MB / 1.202 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.076e-05/1.521, allocations: 8.688 kB / 1.202 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000558/1.521, allocations: 75.95 kB / 1.202 GB, free: 8.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001044/1.522, allocations: 1.195 MB / 1.204 GB, free: 7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/1.522, allocations: 4 kB / 1.204 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/1.54, allocations: 5.729 MB / 1.209 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006479/1.547, allocations: 1.427 MB / 1.211 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003587/1.551, allocations: 61.05 kB / 1.211 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00921/1.56, allocations: 398.7 kB / 1.211 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007862/1.561, allocations: 145.8 kB / 1.211 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006294/1.561, allocations: 147.9 kB / 1.211 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01345/1.575, allocations: 4.686 MB / 1.216 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.092e-06/1.575, allocations: 0 / 1.216 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01751/1.592, allocations: 3.277 MB / 1.219 GB, free: 7.027 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 22 (pip.vol[1].dynBal.U,pip.vol[2].dynBal.U,pip.vol[3].dynBal.U,pip.vol[4].dynBal.U,pip.vol[5].dynBal.U,pip.vol[6].dynBal.U,pip.vol[7].dynBal.U,pip.vol[8].dynBal.U,pip.vol[9].dynBal.U,pip.vol[10].dynBal.U,pip1.vol[1].dynBal.U,pip1.vol[2].dynBal.U,pip1.vol[3].dynBal.U,pip1.vol[4].dynBal.U,pip1.vol[5].dynBal.U,pip1.vol[6].dynBal.U,pip1.vol[7].dynBal.U,pip1.vol[8].dynBal.U,pip1.vol[9].dynBal.U,pip1.vol[10].dynBal.U,senTem.T,senTem1.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 (259): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0195/1.612, allocations: 6.822 MB / 1.226 GB, free: 152 kB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01829/1.63, allocations: 5.991 MB / 1.232 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.627e-05/1.63, allocations: 4.562 kB / 1.232 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004717/1.635, allocations: 1.589 MB / 1.233 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03178/1.667, allocations: 3.891 MB / 1.237 GB, free: 4.965 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06445/1.731, allocations: 41.5 MB / 1.277 GB, free: 10.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009034/1.741, allocations: 4.634 MB / 1.282 GB, free: 5.547 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.01721/1.758, allocations: 2.895 MB / 1.285 GB, free: 2.652 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007642/1.765, allocations: 2.548 MB / 1.287 GB, free: 108 kB / 0.823 GB Notification: Performance of SimCode: time 2.835e-06/1.766, allocations: 0 / 1.287 GB, free: 108 kB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.334/3.1, allocations: 181.9 MB / 1.465 GB, free: 330.7 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/3.1, allocations: 246.4 kB / 1.465 GB, free: 330.5 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.319/12.42, allocations: 1.469 kB / 1.465 GB, free: 330.5 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)