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 1.466/1.466, allocations: 287.4 MB / 302.6 MB, free: 8.242 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.000882/0.000882, allocations: 174.4 kB / 371.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0006971/0.0006971, allocations: 95.56 kB / 0.7431 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000348/0.000348, allocations: 21.58 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1773, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example1v1): time 0.05166/0.229, allocations: 66.85 MB / 1.044 GB, free: 9.07 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02317/0.2522, allocations: 18.88 MB / 1.062 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002625/0.2549, allocations: 79.44 kB / 1.063 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.2569, allocations: 0.6715 MB / 1.063 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.004518/0.2614, allocations: 1.92 MB / 1.065 GB, free: 3.473 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003744/0.2652, allocations: 1.561 MB / 1.067 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.3956/0.6608, allocations: 9.125 MB / 1.075 GB, free: 19.65 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007712/0.6686, allocations: 5.531 MB / 1.081 GB, free: 18.97 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00596/0.6746, allocations: 2.687 MB / 1.084 GB, free: 18.96 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003874/0.6785, allocations: 2.312 MB / 1.086 GB, free: 18.95 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006417/0.6791, allocations: 129.5 kB / 1.086 GB, free: 18.95 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.6823, allocations: 1.016 MB / 1.087 GB, free: 18.93 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006434/0.683, allocations: 0.6013 MB / 1.087 GB, free: 18.93 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0009427/0.684, allocations: 0.6481 MB / 1.088 GB, free: 18.89 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00379/0.6878, allocations: 3.484 MB / 1.092 GB, free: 18.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.6878, allocations: 0 / 1.092 GB, free: 18.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6878, allocations: 4 kB / 1.092 GB, free: 18.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.053e-05/0.6878, allocations: 1.531 kB / 1.092 GB, free: 18.59 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.006938/0.6948, allocations: 3.82 MB / 1.095 GB, free: 16.81 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.6948, allocations: 10.16 kB / 1.095 GB, free: 16.81 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003197/0.6952, allocations: 228.8 kB / 1.095 GB, free: 16.76 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.697, allocations: 0.5725 MB / 1.096 GB, free: 16.56 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003654/0.7006, allocations: 2.581 MB / 1.099 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.98e-05/0.7007, allocations: 138.4 kB / 1.099 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002904/0.701, allocations: 188.7 kB / 1.099 GB, free: 15.87 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003469/0.7045, allocations: 2.409 MB / 1.101 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.7046, allocations: 6.625 kB / 1.101 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/0.7047, allocations: 71.59 kB / 1.101 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.611e-05/0.7048, allocations: 41 kB / 1.101 GB, free: 15.46 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003228/0.708, allocations: 2.02 MB / 1.103 GB, free: 15.43 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.01269/0.7207, allocations: 12.15 MB / 1.115 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002835/0.7235, allocations: 1.558 MB / 1.117 GB, free: 9.25 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.7252, allocations: 1.094 MB / 1.118 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006842/0.7321, allocations: 4.085 MB / 1.122 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001459/0.7335, allocations: 0.8781 MB / 1.123 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001867/0.7354, allocations: 451.8 kB / 1.123 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=96): time 3.397e-06/0.7354, allocations: 0 / 1.123 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of matching and sorting (n=96): time 0.01409/0.7495, allocations: 5.284 MB / 1.128 GB, free: 4.238 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.7496, allocations: 64.88 kB / 1.128 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003543/0.7531, allocations: 2.995 MB / 1.131 GB, free: 3.383 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.691e-05/0.7532, allocations: 59.58 kB / 1.131 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009427/0.7542, allocations: 1.423 MB / 1.133 GB, free: 2.832 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002165/0.7544, allocations: 342.2 kB / 1.133 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/0.7545, allocations: 27.72 kB / 1.133 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.075e-05/0.7546, allocations: 362.6 kB / 1.133 GB, free: 2.266 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.7558, allocations: 0.6988 MB / 1.134 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.7573, allocations: 1.49 MB / 1.135 GB, free: 1.035 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00247/0.7598, allocations: 1.925 MB / 1.137 GB, free: 260 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.235e-06/0.7598, allocations: 7 kB / 1.137 GB, free: 260 kB / 0.6823 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005542/0.7654, allocations: 2.95 MB / 1.14 GB, free: 15.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003019/0.7657, allocations: 0.5403 MB / 1.141 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.7657, allocations: 14.53 kB / 1.141 GB, free: 14.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002652/0.7684, allocations: 0.778 MB / 1.142 GB, free: 14.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.7694, allocations: 307.9 kB / 1.142 GB, free: 14.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002029/0.7715, allocations: 2.177 MB / 1.144 GB, free: 13.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002508/0.774, allocations: 248 kB / 1.144 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/0.7741, allocations: 78.61 kB / 1.144 GB, free: 12.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.312e-06/0.7742, allocations: 3.531 kB / 1.144 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00361/0.7778, allocations: 2.305 MB / 1.147 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.7778, allocations: 17.81 kB / 1.147 GB, free: 12.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001193/0.779, allocations: 0.579 MB / 1.147 GB, free: 12.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009157/0.7799, allocations: 285.6 kB / 1.147 GB, free: 12.17 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006536/0.7865, allocations: 6.497 MB / 1.154 GB, free: 8.461 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.7885, allocations: 243.3 kB / 1.154 GB, free: 8.367 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.7887, allocations: 72.22 kB / 1.154 GB, free: 8.363 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.001309/0.79, allocations: 0.823 MB / 1.155 GB, free: 7.863 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000393/0.7904, allocations: 300.2 kB / 1.155 GB, free: 7.566 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004155/0.7945, allocations: 2.485 MB / 1.158 GB, free: 5.754 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.7946, allocations: 12 kB / 1.158 GB, free: 5.742 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.7946, allocations: 3.984 kB / 1.158 GB, free: 5.738 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003153/0.7977, allocations: 2.19 MB / 1.16 GB, free: 3.918 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.007197/0.8049, allocations: 4.712 MB / 1.164 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.805, allocations: 0 / 1.164 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007271/0.8057, allocations: 154.5 kB / 1.164 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.8068, allocations: 0.5406 MB / 1.165 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.292e-05/0.8069, allocations: 38.55 kB / 1.165 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.8087, allocations: 2.084 MB / 1.167 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.8087, allocations: 8.062 kB / 1.167 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005195/0.8139, allocations: 3.345 MB / 1.17 GB, free: 8.926 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001148/0.815, allocations: 0.5518 MB / 1.171 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005934/0.8156, allocations: 16 kB / 1.171 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001891/0.8175, allocations: 215.5 kB / 1.171 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.8177, allocations: 60.91 kB / 1.171 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-05/0.8178, allocations: 39.97 kB / 1.171 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003127/0.8209, allocations: 2.048 MB / 1.173 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/0.8209, allocations: 4 kB / 1.173 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004543/0.8255, allocations: 1.478 MB / 1.175 GB, free: 4.504 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.00618/0.8317, allocations: 4.012 MB / 1.179 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005758/0.8375, allocations: 3.262 MB / 1.182 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.8375, allocations: 0 / 1.182 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001481/0.839, allocations: 0.819 MB / 1.183 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008152/0.8471, allocations: 1.528 MB / 1.184 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04961/0.8968, allocations: 21.25 MB / 1.205 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001655/0.8985, allocations: 2.029 MB / 1.207 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002926/0.9014, allocations: 0.6756 MB / 1.207 GB, free: 1.387 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/0.903, allocations: 1.171 MB / 1.209 GB, free: 220 kB / 0.7448 GB Notification: Performance of SimCode: time 8.52e-07/0.903, allocations: 4 kB / 1.209 GB, free: 216 kB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.348/2.251, allocations: 84.72 MB / 1.291 GB, free: 12.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/2.251, allocations: 256.1 kB / 1.292 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.533/6.784, allocations: 10.3 kB / 1.292 GB, free: 11.88 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)