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.444/1.444, allocations: 252 MB / 267.3 MB, free: 10.85 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.0009844/0.0009845, allocations: 166.2 kB / 327 MB, free: 2.113 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.638/1.638, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.0007573/0.0007574, allocations: 81.5 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003997/0.0003999, allocations: 12.78 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2328, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.Pipe): time 0.03407/0.2669, allocations: 44.79 MB / 0.9447 GB, free: 18.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.2809, allocations: 11.29 MB / 0.9557 GB, free: 7.125 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002205/0.2832, allocations: 47.69 kB / 0.9557 GB, free: 7.078 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001686/0.2849, allocations: 0.5555 MB / 0.9563 GB, free: 6.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005201/0.2901, allocations: 2.013 MB / 0.9582 GB, free: 4.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.2932, allocations: 1.322 MB / 0.9595 GB, free: 3.188 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0257/0.3189, allocations: 29.05 MB / 0.9879 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01089/0.3299, allocations: 7.257 MB / 0.995 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01379/0.3437, allocations: 5.477 MB / 1 GB, free: 9.215 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01253/0.3563, allocations: 5.611 MB / 1.006 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.001954/0.3583, allocations: 284 kB / 1.006 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006667/0.365, allocations: 1.388 MB / 1.007 GB, free: 1.91 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.002842/0.3678, allocations: 1.4 MB / 1.009 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.008319/0.3762, allocations: 3.694 MB / 1.012 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01654/0.3927, allocations: 11.97 MB / 1.024 GB, free: 0.7812 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.3928, allocations: 0 / 1.024 GB, free: 0.7812 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.856e-06/0.3928, allocations: 0 / 1.024 GB, free: 0.7812 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0003981/0.3932, allocations: 0 / 1.024 GB, free: 0.7812 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.01446/0.4077, allocations: 6.559 MB / 1.03 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.4078, allocations: 19.97 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002307/0.4101, allocations: 0.7105 MB / 1.031 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003501/0.4136, allocations: 0.8427 MB / 1.032 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01416/0.4278, allocations: 7.574 MB / 1.039 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003499/0.4281, allocations: 415.9 kB / 1.04 GB, free: 484 kB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001157/0.4293, allocations: 0.5116 MB / 1.04 GB, free: 15.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01426/0.4436, allocations: 7.556 MB / 1.048 GB, free: 8.113 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001239/0.4437, allocations: 35.72 kB / 1.048 GB, free: 8.078 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005482/0.4443, allocations: 216 kB / 1.048 GB, free: 7.867 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/0.4445, allocations: 171.8 kB / 1.048 GB, free: 7.699 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01094/0.4554, allocations: 6.071 MB / 1.054 GB, free: 1.613 MB / 0.698 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.4921/0.9475, allocations: 29.11 MB / 1.082 GB, free: 125.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004775/0.9523, allocations: 3.414 MB / 1.086 GB, free: 123.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002515/0.9549, allocations: 1.964 MB / 1.088 GB, free: 122.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008938/0.9558, allocations: 0.9968 MB / 1.089 GB, free: 121.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.009e-05/0.9559, allocations: 78.56 kB / 1.089 GB, free: 121.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=253): time 4.438e-06/0.9559, allocations: 0 / 1.089 GB, free: 121.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=253): time 0.007276/0.9632, allocations: 4.69 MB / 1.093 GB, free: 119 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.9632, allocations: 81.75 kB / 1.093 GB, free: 119 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01085/0.9741, allocations: 6.018 MB / 1.099 GB, free: 116 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0007515/0.9749, allocations: 77.39 kB / 1.099 GB, free: 115.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002157/0.9771, allocations: 2.944 MB / 1.102 GB, free: 113.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001202/0.9783, allocations: 0.8985 MB / 1.103 GB, free: 112.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.9784, allocations: 69.12 kB / 1.103 GB, free: 112.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.9786, allocations: 446.2 kB / 1.104 GB, free: 112.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/0.9808, allocations: 1.639 MB / 1.105 GB, free: 111.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002334/0.9832, allocations: 2.687 MB / 1.108 GB, free: 109.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004467/0.9876, allocations: 4.601 MB / 1.112 GB, free: 105.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/0.9877, allocations: 12 kB / 1.112 GB, free: 105.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=436) (initialization): time 0.007643/0.9953, allocations: 4.963 MB / 1.117 GB, free: 100.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005457/0.9959, allocations: 1.032 MB / 1.118 GB, free: 99.23 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.46e-05/0.9959, allocations: 32.88 kB / 1.118 GB, free: 99.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.179e-05/0.996, allocations: 56 kB / 1.118 GB, free: 99.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002679/0.9987, allocations: 0.8118 MB / 1.119 GB, free: 98.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005557/0.9993, allocations: 1.254 MB / 1.12 GB, free: 97.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005472/1.005, allocations: 0.6124 MB / 1.121 GB, free: 96.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002736/1.005, allocations: 156 kB / 1.121 GB, free: 96.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.005, allocations: 4 kB / 1.121 GB, free: 96.26 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00532/1.01, allocations: 4.455 MB / 1.125 GB, free: 91.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/1.01, allocations: 33.81 kB / 1.125 GB, free: 91.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.095e-05/1.01, allocations: 48 kB / 1.125 GB, free: 91.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/1.013, allocations: 0.7894 MB / 1.126 GB, free: 90.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.251e-05/1.013, allocations: 67.78 kB / 1.126 GB, free: 90.83 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004703/1.017, allocations: 0.5467 MB / 1.127 GB, free: 90.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/1.018, allocations: 163.9 kB / 1.127 GB, free: 90.12 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003934/1.022, allocations: 2.49 MB / 1.129 GB, free: 87.62 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001473/1.023, allocations: 0.5478 MB / 1.13 GB, free: 87.07 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00514/1.028, allocations: 3.903 MB / 1.134 GB, free: 83.11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.261e-05/1.028, allocations: 28.88 kB / 1.134 GB, free: 83.08 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/1.028, allocations: 0 / 1.134 GB, free: 83.08 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003389/1.032, allocations: 3.013 MB / 1.137 GB, free: 80.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/1.047, allocations: 9.637 MB / 1.146 GB, free: 70.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/1.047, allocations: 0 / 1.146 GB, free: 70.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002204/1.049, allocations: 0.6037 MB / 1.147 GB, free: 69.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.607e-05/1.049, allocations: 15.92 kB / 1.147 GB, free: 69.71 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/1.049, allocations: 75.95 kB / 1.147 GB, free: 69.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003678/1.049, allocations: 1.184 MB / 1.148 GB, free: 68.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.05, allocations: 11.98 kB / 1.148 GB, free: 68.39 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007028/1.057, allocations: 5.635 MB / 1.154 GB, free: 62.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003654/1.06, allocations: 1.275 MB / 1.155 GB, free: 61.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001162/1.061, allocations: 59.92 kB / 1.155 GB, free: 61.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003864/1.065, allocations: 389.4 kB / 1.155 GB, free: 60.91 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002698/1.066, allocations: 145.8 kB / 1.155 GB, free: 60.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002331/1.066, allocations: 131.9 kB / 1.155 GB, free: 60.64 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.005678/1.071, allocations: 4.254 MB / 1.16 GB, free: 56.42 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.6e-07/1.072, allocations: 0 / 1.16 GB, free: 56.42 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00835/1.08, allocations: 3.22 MB / 1.163 GB, free: 53.21 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007531/1.087, allocations: 6.593 MB / 1.169 GB, free: 46.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007857/1.095, allocations: 6.033 MB / 1.175 GB, free: 40.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.759e-06/1.095, allocations: 8.062 kB / 1.175 GB, free: 40.49 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001909/1.097, allocations: 1.592 MB / 1.177 GB, free: 38.89 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01915/1.116, allocations: 3.937 MB / 1.18 GB, free: 35.03 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1634/1.28, allocations: 63.26 MB / 1.242 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004133/1.284, allocations: 4.511 MB / 1.247 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.009257/1.293, allocations: 2.83 MB / 1.249 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004879/1.298, allocations: 2.534 MB / 1.252 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of SimCode: time 2.294e-06/1.298, allocations: 0 / 1.252 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7864/2.085, allocations: 172.5 MB / 1.42 GB, free: 285 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/2.085, allocations: 284.9 kB / 1.421 GB, free: 284.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.844/9.929, allocations: 0 / 1.421 GB, free: 284.6 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)