Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.Pipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.596/1.596, allocations: 252 MB / 267 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 170.1 kB / 326.6 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.4 MB / 0.5777 GB, free: 20.56 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009994/0.0009992, allocations: 98.62 kB / 0.6823 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005114, allocations: 15.25 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2551, allocations: 106.4 MB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.04388/0.299, allocations: 42.36 MB / 0.9417 GB, free: 21.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01551/0.3146, allocations: 10.64 MB / 0.9521 GB, free: 11.03 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.3168, allocations: 47.69 kB / 0.9521 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.3186, allocations: 492.8 kB / 0.9526 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00507/0.3237, allocations: 1.733 MB / 0.9543 GB, free: 8.754 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/0.3271, allocations: 1.076 MB / 0.9553 GB, free: 7.691 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.02589/0.353, allocations: 24.65 MB / 0.9794 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01107/0.3641, allocations: 6.352 MB / 0.9856 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01222/0.3764, allocations: 5.412 MB / 0.9909 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01203/0.3885, allocations: 5.297 MB / 0.9961 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.002602/0.3911, allocations: 288 kB / 0.9963 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007787/0.399, allocations: 1.076 MB / 0.9974 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.004549/0.4036, allocations: 1.319 MB / 0.9987 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.00529/0.4089, allocations: 1.565 MB / 1 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.01454/0.4234, allocations: 10.05 MB / 1.01 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.4235, allocations: 0 / 1.01 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.254e-06/0.4235, allocations: 0 / 1.01 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0005223/0.424, allocations: 3.938 kB / 1.01 GB, free: 15.45 MB / 0.6667 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.01904/0.4431, allocations: 6.625 MB / 1.016 GB, free: 8.742 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/0.4432, allocations: 8.031 kB / 1.016 GB, free: 8.734 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002814/0.446, allocations: 0.7142 MB / 1.017 GB, free: 8.012 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004466/0.4505, allocations: 0.8385 MB / 1.018 GB, free: 7.164 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01894/0.4694, allocations: 7.391 MB / 1.025 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006107/0.4701, allocations: 415.9 kB / 1.026 GB, free: 15.28 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001974/0.4721, allocations: 0.5154 MB / 1.026 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02131/0.4934, allocations: 7.525 MB / 1.033 GB, free: 6.945 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003459/0.4938, allocations: 23.78 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001794/0.4956, allocations: 224 kB / 1.034 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002583/0.4959, allocations: 163.9 kB / 1.034 GB, free: 6.543 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01532/0.5113, allocations: 6.036 MB / 1.04 GB, free: 0.4922 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.5137/1.025, allocations: 29.1 MB / 1.068 GB, free: 123.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00794/1.033, allocations: 3.39 MB / 1.071 GB, free: 123.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00385/1.037, allocations: 1.951 MB / 1.073 GB, free: 123.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/1.038, allocations: 1 MB / 1.074 GB, free: 122.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.923e-05/1.038, allocations: 73.89 kB / 1.074 GB, free: 122.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 4.96e-06/1.038, allocations: 0 / 1.074 GB, free: 122.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.009846/1.048, allocations: 4.679 MB / 1.079 GB, free: 122.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/1.048, allocations: 77.53 kB / 1.079 GB, free: 122.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01099/1.059, allocations: 5.968 MB / 1.085 GB, free: 121.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007757/1.06, allocations: 81.45 kB / 1.085 GB, free: 121.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002432/1.062, allocations: 2.948 MB / 1.088 GB, free: 119.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001402/1.064, allocations: 0.9025 MB / 1.089 GB, free: 118.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/1.064, allocations: 71.81 kB / 1.089 GB, free: 118.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001965/1.064, allocations: 442.2 kB / 1.089 GB, free: 118.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003146/1.067, allocations: 1.623 MB / 1.091 GB, free: 117.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004078/1.071, allocations: 2.67 MB / 1.093 GB, free: 115.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003257/1.075, allocations: 2.211 MB / 1.096 GB, free: 114.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.927e-05/1.075, allocations: 10.56 kB / 1.096 GB, free: 114.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008084/1.083, allocations: 4.932 MB / 1.1 GB, free: 111.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005312/1.083, allocations: 1.032 MB / 1.101 GB, free: 110.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.691e-05/1.083, allocations: 34.72 kB / 1.101 GB, free: 110.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.804e-05/1.083, allocations: 54.75 kB / 1.102 GB, free: 110.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/1.086, allocations: 0.8142 MB / 1.102 GB, free: 110.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005743/1.087, allocations: 1.252 MB / 1.104 GB, free: 109.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005733/1.093, allocations: 0.6087 MB / 1.104 GB, free: 108.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005845/1.093, allocations: 155.7 kB / 1.104 GB, free: 108.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/1.093, allocations: 7.781 kB / 1.104 GB, free: 108.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006369/1.1, allocations: 4.432 MB / 1.109 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.186e-05/1.1, allocations: 30.5 kB / 1.109 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.914e-05/1.1, allocations: 52 kB / 1.109 GB, free: 106.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002481/1.102, allocations: 0.782 MB / 1.109 GB, free: 106 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-05/1.102, allocations: 70.12 kB / 1.11 GB, free: 105.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005064/1.107, allocations: 0.5504 MB / 1.11 GB, free: 105.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004551/1.108, allocations: 160 kB / 1.11 GB, free: 105.2 MB / 0.698 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.005057/1.113, allocations: 2.494 MB / 1.113 GB, free: 102.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002245/1.115, allocations: 0.549 MB / 1.113 GB, free: 102.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006921/1.122, allocations: 3.895 MB / 1.117 GB, free: 98.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.34e-05/1.122, allocations: 24 kB / 1.117 GB, free: 98.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/1.122, allocations: 0 / 1.117 GB, free: 98.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00381/1.126, allocations: 2.994 MB / 1.12 GB, free: 95.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01969/1.146, allocations: 9.63 MB / 1.129 GB, free: 85.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.146, allocations: 5.531 kB / 1.129 GB, free: 85.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002316/1.148, allocations: 0.5922 MB / 1.13 GB, free: 84.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.775e-05/1.148, allocations: 12 kB / 1.13 GB, free: 84.83 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002217/1.148, allocations: 71.95 kB / 1.13 GB, free: 84.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004338/1.149, allocations: 1.195 MB / 1.131 GB, free: 83.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/1.149, allocations: 5.031 kB / 1.131 GB, free: 83.52 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0076/1.157, allocations: 5.619 MB / 1.137 GB, free: 77.8 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004474/1.161, allocations: 1.278 MB / 1.138 GB, free: 76.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002302/1.163, allocations: 55.98 kB / 1.138 GB, free: 76.44 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005352/1.169, allocations: 393.2 kB / 1.138 GB, free: 76.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004259/1.169, allocations: 149.8 kB / 1.138 GB, free: 75.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004461/1.17, allocations: 126.6 kB / 1.139 GB, free: 75.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.007646/1.177, allocations: 4.211 MB / 1.143 GB, free: 71.61 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.12e-07/1.177, allocations: 1.312 kB / 1.143 GB, free: 71.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01288/1.19, allocations: 3.216 MB / 1.146 GB, free: 68.41 MB / 0.698 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.01123/1.202, allocations: 6.546 MB / 1.152 GB, free: 61.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01006/1.212, allocations: 5.999 MB / 1.158 GB, free: 55.78 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/1.212, allocations: 4 kB / 1.158 GB, free: 55.77 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002404/1.214, allocations: 1.582 MB / 1.16 GB, free: 54.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02138/1.236, allocations: 3.934 MB / 1.164 GB, free: 50.36 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1628/1.398, allocations: 50.57 MB / 1.213 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007883/1.406, allocations: 4.515 MB / 1.217 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.01246/1.419, allocations: 2.834 MB / 1.22 GB, free: 5.121 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00681/1.426, allocations: 2.534 MB / 1.223 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of SimCode: time 1.072e-06/1.426, allocations: 0 / 1.223 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7351/2.161, allocations: 180.7 MB / 1.399 GB, free: 273.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/2.161, allocations: 252 kB / 1.399 GB, free: 273.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.7/9.861, allocations: 0 / 1.399 GB, free: 273.5 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_Pipe.fmu > Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.Pipe.pipe 2>&1)