Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.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.Examples.Performance.Example1v1,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v1",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.491/2.491, allocations: 287.5 MB / 302.4 MB, free: 8.348 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.001354/0.001354, allocations: 178.5 kB / 371 MB, free: 10.89 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.023/2.023, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0008853/0.0008848, allocations: 84.39 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.0004758, allocations: 11.12 kB / 0.8659 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2043, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.09575/0.3001, allocations: 66.84 MB / 1.044 GB, free: 9.281 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.04132/0.3415, allocations: 18.88 MB / 1.062 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003399/0.345, allocations: 79.38 kB / 1.062 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00356/0.3486, allocations: 0.6755 MB / 1.063 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.008132/0.3567, allocations: 1.927 MB / 1.065 GB, free: 3.676 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006845/0.3636, allocations: 1.553 MB / 1.066 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.6596/1.023, allocations: 9.036 MB / 1.075 GB, free: 19.44 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01234/1.036, allocations: 5.314 MB / 1.08 GB, free: 18.86 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008848/1.045, allocations: 2.685 MB / 1.083 GB, free: 18.84 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006561/1.051, allocations: 2.308 MB / 1.085 GB, free: 18.83 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001192/1.052, allocations: 130.1 kB / 1.085 GB, free: 18.83 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005663/1.058, allocations: 1.016 MB / 1.086 GB, free: 18.81 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001865/1.06, allocations: 0.604 MB / 1.087 GB, free: 18.81 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.002379/1.062, allocations: 0.6467 MB / 1.088 GB, free: 18.78 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00801/1.07, allocations: 3.48 MB / 1.091 GB, free: 18.48 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/1.07, allocations: 1.031 kB / 1.091 GB, free: 18.48 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.006e-06/1.071, allocations: 0 / 1.091 GB, free: 18.48 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001818/1.071, allocations: 4 kB / 1.091 GB, free: 18.48 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: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.0142/1.085, allocations: 3.86 MB / 1.095 GB, free: 16.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/1.085, allocations: 9.719 kB / 1.095 GB, free: 16.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001201/1.086, allocations: 228.5 kB / 1.095 GB, free: 16.65 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004433/1.091, allocations: 0.5686 MB / 1.095 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009214/1.1, allocations: 2.466 MB / 1.098 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/1.1, allocations: 144.4 kB / 1.098 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006928/1.101, allocations: 184.4 kB / 1.098 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007533/1.108, allocations: 2.405 MB / 1.101 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.247e-05/1.109, allocations: 8.312 kB / 1.101 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003057/1.109, allocations: 66 kB / 1.101 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.185e-05/1.109, allocations: 43.28 kB / 1.101 GB, free: 15.47 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00745/1.116, allocations: 2.02 MB / 1.103 GB, free: 15.44 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.02575/1.142, allocations: 12.14 MB / 1.114 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005393/1.148, allocations: 1.551 MB / 1.116 GB, free: 9.289 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003097/1.151, allocations: 1.096 MB / 1.117 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0116/1.162, allocations: 4.088 MB / 1.121 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002629/1.165, allocations: 0.8802 MB / 1.122 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003227/1.168, allocations: 458.1 kB / 1.122 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=96): time 5.45e-06/1.168, allocations: 0 / 1.122 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96): time 0.02892/1.197, allocations: 5.198 MB / 1.127 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/1.197, allocations: 61.69 kB / 1.127 GB, free: 4.262 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006328/1.204, allocations: 2.998 MB / 1.13 GB, free: 3.465 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000479/1.204, allocations: 58.45 kB / 1.13 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001559/1.206, allocations: 1.422 MB / 1.132 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005097/1.206, allocations: 334.6 kB / 1.132 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/1.206, allocations: 33.66 kB / 1.132 GB, free: 2.676 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001085/1.207, allocations: 361.6 kB / 1.133 GB, free: 2.352 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/1.209, allocations: 0.6945 MB / 1.133 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002786/1.212, allocations: 1.49 MB / 1.135 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/1.214, allocations: 0.9062 MB / 1.136 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/1.214, allocations: 3.406 kB / 1.136 GB, free: 0.9492 MB / 0.6823 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01046/1.225, allocations: 2.95 MB / 1.138 GB, free: 144 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004721/1.225, allocations: 0.5374 MB / 1.139 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/1.225, allocations: 13.5 kB / 1.139 GB, free: 15.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004941/1.23, allocations: 0.7714 MB / 1.14 GB, free: 15.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002292/1.233, allocations: 314.5 kB / 1.14 GB, free: 15.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003595/1.236, allocations: 2.189 MB / 1.142 GB, free: 13.87 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004973/1.241, allocations: 242.9 kB / 1.142 GB, free: 13.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002702/1.242, allocations: 76.25 kB / 1.142 GB, free: 13.77 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.242, allocations: 4.312 kB / 1.142 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006914/1.249, allocations: 2.304 MB / 1.145 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.466e-05/1.249, allocations: 13.78 kB / 1.145 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002477/1.251, allocations: 0.5773 MB / 1.145 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/1.253, allocations: 287.7 kB / 1.146 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01221/1.265, allocations: 6.508 MB / 1.152 GB, free: 9.254 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004695/1.27, allocations: 237 kB / 1.152 GB, free: 9.164 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002298/1.27, allocations: 69.08 kB / 1.152 GB, free: 9.16 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.002403/1.273, allocations: 0.8259 MB / 1.153 GB, free: 8.824 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008904/1.274, allocations: 294.2 kB / 1.153 GB, free: 8.668 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007907/1.282, allocations: 2.482 MB / 1.156 GB, free: 7.141 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/1.282, allocations: 16 kB / 1.156 GB, free: 7.125 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/1.282, allocations: 0 / 1.156 GB, free: 7.125 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006254/1.288, allocations: 2.189 MB / 1.158 GB, free: 5.398 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.01358/1.301, allocations: 4.704 MB / 1.163 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/1.302, allocations: 6.734 kB / 1.163 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00146/1.303, allocations: 158.2 kB / 1.163 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002192/1.305, allocations: 0.5368 MB / 1.163 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/1.305, allocations: 35.94 kB / 1.163 GB, free: 328 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003197/1.309, allocations: 2.085 MB / 1.165 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.309, allocations: 8.031 kB / 1.165 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/1.319, allocations: 3.346 MB / 1.169 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002184/1.321, allocations: 0.5518 MB / 1.169 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005787/1.322, allocations: 16 kB / 1.169 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003296/1.325, allocations: 211.5 kB / 1.169 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002472/1.325, allocations: 72.83 kB / 1.169 GB, free: 9.945 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/1.326, allocations: 35.98 kB / 1.169 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004836/1.33, allocations: 2.056 MB / 1.171 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.11e-07/1.33, allocations: 0 / 1.171 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006684/1.337, allocations: 1.478 MB / 1.173 GB, free: 6.383 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.01101/1.348, allocations: 3.999 MB / 1.177 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.009956/1.358, allocations: 3.261 MB / 1.18 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.358, allocations: 0 / 1.18 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002839/1.361, allocations: 0.8198 MB / 1.181 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01406/1.375, allocations: 1.558 MB / 1.182 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07193/1.447, allocations: 21.24 MB / 1.203 GB, free: 6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002305/1.449, allocations: 2.037 MB / 1.205 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004509/1.454, allocations: 0.6744 MB / 1.206 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002547/1.457, allocations: 1.179 MB / 1.207 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/1.457, allocations: 0 / 1.207 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2163/1.673, allocations: 84.7 MB / 1.29 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002956/1.673, allocations: 266.2 kB / 1.29 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.012/7.685, allocations: 0 / 1.29 GB, free: 13.83 MB / 0.8386 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)