Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3",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.579/1.579, allocations: 287.4 MB / 302.6 MB, free: 8.223 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.0009928/0.0009929, allocations: 184.8 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.376/1.376, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007988/0.0007988, allocations: 98.42 kB / 0.7431 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004357/0.000436, allocations: 11.86 kB / 0.8662 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.24, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02773/0.2678, allocations: 30.15 MB / 1.008 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01846/0.2863, allocations: 12.26 MB / 1.02 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.288, allocations: 43.69 kB / 1.02 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.2899, allocations: 489.1 kB / 1.021 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004033/0.2939, allocations: 1.286 MB / 1.022 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003169/0.2971, allocations: 1.07 MB / 1.023 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006358/0.3035, allocations: 5.538 MB / 1.028 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/0.3061, allocations: 1.714 MB / 1.03 GB, free: 7.418 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003422/0.3096, allocations: 1.56 MB / 1.032 GB, free: 5.852 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002381/0.312, allocations: 1.291 MB / 1.033 GB, free: 4.555 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0003891/0.3124, allocations: 72 kB / 1.033 GB, free: 4.484 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00265/0.3151, allocations: 0.8893 MB / 1.034 GB, free: 3.594 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0005234/0.3156, allocations: 382.4 kB / 1.034 GB, free: 3.219 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.000764/0.3164, allocations: 396.6 kB / 1.034 GB, free: 2.824 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002531/0.3189, allocations: 2.174 MB / 1.037 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.319, allocations: 0 / 1.037 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.004e-06/0.319, allocations: 0 / 1.037 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.685e-05/0.319, allocations: 0 / 1.037 GB, free: 0.6484 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003458/0.3225, allocations: 2.081 MB / 1.039 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.3225, allocations: 8.031 kB / 1.039 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001892/0.3227, allocations: 144 kB / 1.039 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.3237, allocations: 306.3 kB / 1.039 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/0.3265, allocations: 1.652 MB / 1.041 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.564e-05/0.3265, allocations: 78 kB / 1.041 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.3267, allocations: 104 kB / 1.041 GB, free: 12.16 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.3288, allocations: 1.333 MB / 1.042 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/0.3289, allocations: 7.938 kB / 1.042 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-05/0.329, allocations: 40 kB / 1.042 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/0.329, allocations: 27.94 kB / 1.042 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.331, allocations: 1.046 MB / 1.043 GB, free: 9.637 MB / 0.6667 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.007815/0.3388, allocations: 6.992 MB / 1.05 GB, free: 2.145 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001694/0.3405, allocations: 0.6799 MB / 1.051 GB, free: 1.457 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008886/0.3414, allocations: 423.3 kB / 1.051 GB, free: 1.039 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003382/0.3448, allocations: 1.838 MB / 1.053 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008006/0.3457, allocations: 412.8 kB / 1.053 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005933/0.3463, allocations: 103.3 kB / 1.053 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=46): time 3.427e-06/0.3463, allocations: 4 kB / 1.053 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=46): time 0.004066/0.3504, allocations: 1.544 MB / 1.055 GB, free: 12.97 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.3504, allocations: 59.39 kB / 1.055 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002672/0.3531, allocations: 1.843 MB / 1.057 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.3532, allocations: 41.7 kB / 1.057 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007409/0.354, allocations: 0.8576 MB / 1.058 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.3542, allocations: 161.7 kB / 1.058 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.917e-05/0.3542, allocations: 16 kB / 1.058 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3544, allocations: 338 kB / 1.058 GB, free: 9.586 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00073/0.3551, allocations: 317.8 kB / 1.058 GB, free: 9.277 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009662/0.3561, allocations: 0.7839 MB / 1.059 GB, free: 8.285 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.3577, allocations: 0.9993 MB / 1.06 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/0.3577, allocations: 4 kB / 1.06 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003132/0.3608, allocations: 1.347 MB / 1.062 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002729/0.3611, allocations: 419.6 kB / 1.062 GB, free: 5.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.971e-05/0.3612, allocations: 23.88 kB / 1.062 GB, free: 5.184 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008026/0.362, allocations: 220.6 kB / 1.062 GB, free: 4.965 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006608/0.3627, allocations: 187.7 kB / 1.062 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008086/0.3635, allocations: 0.8349 MB / 1.063 GB, free: 3.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.365, allocations: 124.5 kB / 1.063 GB, free: 3.801 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.3651, allocations: 47.92 kB / 1.063 GB, free: 3.754 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.3651, allocations: 6.5 kB / 1.063 GB, free: 3.75 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001879/0.367, allocations: 1.031 MB / 1.064 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/0.3671, allocations: 12 kB / 1.064 GB, free: 2.695 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003961/0.3675, allocations: 161.4 kB / 1.065 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005335/0.368, allocations: 163.7 kB / 1.065 GB, free: 2.375 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4705/0.8385, allocations: 2.346 MB / 1.067 GB, free: 86.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.8403, allocations: 111.7 kB / 1.067 GB, free: 86.45 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.8404, allocations: 46.14 kB / 1.067 GB, free: 86.45 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.001151/0.8416, allocations: 0.5848 MB / 1.068 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003724/0.842, allocations: 174.6 kB / 1.068 GB, free: 86.26 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00261/0.8446, allocations: 1.062 MB / 1.069 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.596e-05/0.8446, allocations: 12.25 kB / 1.069 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.8446, allocations: 1.219 kB / 1.069 GB, free: 86.18 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001746/0.8464, allocations: 1.031 MB / 1.07 GB, free: 85.77 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 postOpt removeSimpleEquations (simulation): time 0.004885/0.8513, allocations: 2.321 MB / 1.072 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.8513, allocations: 0.75 kB / 1.072 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005147/0.8518, allocations: 89.67 kB / 1.072 GB, free: 84.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003748/0.8522, allocations: 151.8 kB / 1.072 GB, free: 84.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-05/0.8523, allocations: 16.09 kB / 1.072 GB, free: 84.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000693/0.853, allocations: 0.8009 MB / 1.073 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.853, allocations: 1.156 kB / 1.073 GB, free: 84.09 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003189/0.8562, allocations: 1.489 MB / 1.075 GB, free: 83.52 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008679/0.8571, allocations: 344.7 kB / 1.075 GB, free: 83.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001934/0.8573, allocations: 11.94 kB / 1.075 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009255/0.8582, allocations: 100.2 kB / 1.075 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.8584, allocations: 39.78 kB / 1.075 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.263e-05/0.8584, allocations: 23.25 kB / 1.075 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002443/0.8609, allocations: 1.271 MB / 1.076 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8609, allocations: 0 / 1.076 GB, free: 82.86 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003075/0.864, allocations: 0.8455 MB / 1.077 GB, free: 82.77 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * 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 (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.003989/0.868, allocations: 2.238 MB / 1.079 GB, free: 81.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00335/0.8713, allocations: 1.528 MB / 1.081 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.8714, allocations: 0 / 1.081 GB, free: 80.96 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00091/0.8723, allocations: 367.1 kB / 1.081 GB, free: 80.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004636/0.8769, allocations: 0.8325 MB / 1.082 GB, free: 80.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02518/0.9022, allocations: 11.32 MB / 1.093 GB, free: 74.96 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/0.9035, allocations: 1.494 MB / 1.095 GB, free: 74.16 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002217/0.9057, allocations: 440 kB / 1.095 GB, free: 74.07 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008541/0.9066, allocations: 0.6575 MB / 1.096 GB, free: 73.57 MB / 0.6823 GB Notification: Performance of SimCode: time 8.71e-07/0.9066, allocations: 0 / 1.096 GB, free: 73.57 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2876/1.194, allocations: 48.62 MB / 1.143 GB, free: 38.56 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/1.195, allocations: 264.4 kB / 1.143 GB, free: 38.27 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.632/4.827, allocations: 0 / 1.143 GB, free: 38.27 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)