Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.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.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1",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.565/1.565, allocations: 252 MB / 267.3 MB, free: 10.86 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.001018/0.001018, allocations: 183.8 kB / 327 MB, free: 2.094 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.543/1.543, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0007032/0.0007031, allocations: 88.25 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000311/0.000311, allocations: 8.531 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1801, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.04879/0.2289, allocations: 70.78 MB / 0.97 GB, free: 8.367 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.02809/0.257, allocations: 20.29 MB / 0.9898 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002997/0.2601, allocations: 83.38 kB / 0.9899 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002697/0.2628, allocations: 0.8589 MB / 0.9908 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0064/0.2692, allocations: 2.169 MB / 0.9929 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.005331/0.2746, allocations: 1.88 MB / 0.9947 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01093/0.2855, allocations: 10.57 MB / 1.005 GB, free: 4.434 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007016/0.2926, allocations: 5.564 MB / 1.01 GB, free: 14.81 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005777/0.2984, allocations: 2.808 MB / 1.013 GB, free: 11.99 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004195/0.3026, allocations: 2.442 MB / 1.016 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0006272/0.3032, allocations: 135.9 kB / 1.016 GB, free: 9.402 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003417/0.3067, allocations: 1.229 MB / 1.017 GB, free: 8.172 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0008217/0.3075, allocations: 0.6337 MB / 1.018 GB, free: 7.535 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.002637/0.3102, allocations: 1.641 MB / 1.019 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005579/0.3158, allocations: 4.539 MB / 1.024 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3158, allocations: 0 / 1.024 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3158, allocations: 0 / 1.024 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0001074/0.3159, allocations: 0 / 1.024 GB, free: 1.324 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.00754/0.3235, allocations: 3.816 MB / 1.027 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.3235, allocations: 8.031 kB / 1.027 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004669/0.324, allocations: 232.2 kB / 1.028 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/0.3263, allocations: 0.5775 MB / 1.028 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004314/0.3306, allocations: 2.58 MB / 1.031 GB, free: 9.953 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.3307, allocations: 139.8 kB / 1.031 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/0.331, allocations: 184 kB / 1.031 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003888/0.3349, allocations: 2.42 MB / 1.033 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/0.335, allocations: 7.938 kB / 1.033 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000165/0.3351, allocations: 67.94 kB / 1.033 GB, free: 7.004 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/0.3352, allocations: 44 kB / 1.033 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003723/0.3389, allocations: 2.033 MB / 1.035 GB, free: 4.922 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.01476/0.3537, allocations: 12.14 MB / 1.047 GB, free: 8.168 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003063/0.3568, allocations: 1.553 MB / 1.049 GB, free: 6.609 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/0.3585, allocations: 1.083 MB / 1.05 GB, free: 5.516 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006877/0.3654, allocations: 4.099 MB / 1.054 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00156/0.367, allocations: 0.8794 MB / 1.055 GB, free: 264 kB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.33/0.697, allocations: 447.2 kB / 1.055 GB, free: 147.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=96): time 4.168e-06/0.697, allocations: 0 / 1.055 GB, free: 147.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=96): time 0.01753/0.7146, allocations: 5.279 MB / 1.06 GB, free: 147 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.7147, allocations: 68.47 kB / 1.06 GB, free: 147 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004057/0.7187, allocations: 3.022 MB / 1.063 GB, free: 146.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/0.7189, allocations: 54.59 kB / 1.063 GB, free: 146.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.7201, allocations: 1.425 MB / 1.065 GB, free: 146.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/0.7204, allocations: 346.4 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.7205, allocations: 26.53 kB / 1.065 GB, free: 146.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.591e-05/0.7206, allocations: 367.3 kB / 1.065 GB, free: 146.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001597/0.7222, allocations: 0.7622 MB / 1.066 GB, free: 146.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001987/0.7242, allocations: 1.565 MB / 1.068 GB, free: 145.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003377/0.7276, allocations: 2.077 MB / 1.07 GB, free: 144.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.7276, allocations: 4.594 kB / 1.07 GB, free: 144.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007077/0.7347, allocations: 3.143 MB / 1.073 GB, free: 144.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002683/0.735, allocations: 0.5337 MB / 1.073 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.735, allocations: 13.28 kB / 1.073 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002962/0.738, allocations: 0.8593 MB / 1.074 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.7392, allocations: 301.5 kB / 1.074 GB, free: 143.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002042/0.7413, allocations: 2.17 MB / 1.077 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/0.7438, allocations: 248.9 kB / 1.077 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/0.744, allocations: 76.05 kB / 1.077 GB, free: 142.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/0.744, allocations: 4.281 kB / 1.077 GB, free: 142.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004083/0.7481, allocations: 2.322 MB / 1.079 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.7482, allocations: 14.75 kB / 1.079 GB, free: 141.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.7495, allocations: 0.5911 MB / 1.08 GB, free: 141.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009939/0.7505, allocations: 289.7 kB / 1.08 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00693/0.7574, allocations: 6.5 MB / 1.086 GB, free: 136.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/0.7601, allocations: 234.5 kB / 1.087 GB, free: 136 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/0.7602, allocations: 72.84 kB / 1.087 GB, free: 136 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,40), (2,5)} Notification: Performance of prepare postOptimizeDAE: time 0.001408/0.7617, allocations: 0.8279 MB / 1.087 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/0.762, allocations: 295.4 kB / 1.088 GB, free: 135.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003876/0.7659, allocations: 2.504 MB / 1.09 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.7659, allocations: 10.53 kB / 1.09 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.7659, allocations: 0 / 1.09 GB, free: 133.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003097/0.769, allocations: 2.187 MB / 1.092 GB, free: 132.6 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 postOpt removeSimpleEquations (simulation): time 0.006051/0.7751, allocations: 4.726 MB / 1.097 GB, free: 128.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.7751, allocations: 3.984 kB / 1.097 GB, free: 128.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007315/0.7758, allocations: 152.6 kB / 1.097 GB, free: 128.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/0.7768, allocations: 0.543 MB / 1.098 GB, free: 128.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.779e-05/0.7769, allocations: 31.25 kB / 1.098 GB, free: 128.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.7783, allocations: 2.101 MB / 1.1 GB, free: 125.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.7783, allocations: 4.016 kB / 1.1 GB, free: 125.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004647/0.783, allocations: 3.355 MB / 1.103 GB, free: 122.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008897/0.7839, allocations: 0.5595 MB / 1.104 GB, free: 122 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002874/0.7842, allocations: 16 kB / 1.104 GB, free: 121.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/0.7859, allocations: 199.6 kB / 1.104 GB, free: 121.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/0.7861, allocations: 72.89 kB / 1.104 GB, free: 121.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.643e-05/0.7862, allocations: 39.92 kB / 1.104 GB, free: 121.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002421/0.7886, allocations: 2.075 MB / 1.106 GB, free: 119.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7886, allocations: 0 / 1.106 GB, free: 119.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003508/0.7921, allocations: 1.478 MB / 1.107 GB, free: 118.1 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,5), (1,40)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005141/0.7973, allocations: 4.033 MB / 1.111 GB, free: 114.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004981/0.8023, allocations: 3.328 MB / 1.115 GB, free: 110.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.8023, allocations: 0 / 1.115 GB, free: 110.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.8036, allocations: 0.8267 MB / 1.115 GB, free: 109.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007157/0.8108, allocations: 1.551 MB / 1.117 GB, free: 108.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04417/0.8549, allocations: 28.31 MB / 1.145 GB, free: 78.13 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.8561, allocations: 2.037 MB / 1.146 GB, free: 76.06 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002546/0.8586, allocations: 0.6701 MB / 1.147 GB, free: 75.4 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/0.8598, allocations: 1.175 MB / 1.148 GB, free: 74.23 MB / 0.698 GB Notification: Performance of SimCode: time 8.21e-07/0.8598, allocations: 0 / 1.148 GB, free: 74.23 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1463/1.006, allocations: 82.31 MB / 1.229 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/1.006, allocations: 282.6 kB / 1.229 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.509/5.516, allocations: 0 / 1.229 GB, free: 8.188 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)