Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.301/2.301, allocations: 387.4 MB / 394.9 MB, free: 13.4 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 176.9 kB / 487.4 MB, free: 5.043 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.749/1.749, allocations: 221.5 MB / 0.7824 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 94.97 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 3.811e-05/3.821e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2932, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.191/1.484, allocations: 402 MB / 1.599 GB, free: 3.055 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/1.485, allocations: 89.97 kB / 1.599 GB, free: 3.012 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.182/4.666, allocations: 0.7006 GB / 2.299 GB, free: 311.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.014e-06/4.666, allocations: 0 / 2.299 GB, free: 311.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003805/4.667, allocations: 49.22 kB / 2.299 GB, free: 311.1 MB / 1.151 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.005902/4.673, allocations: 1.854 MB / 2.301 GB, free: 310.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/4.673, allocations: 12.09 kB / 2.301 GB, free: 310.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00252/4.675, allocations: 383.2 kB / 2.302 GB, free: 310.2 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008282/4.684, allocations: 2.553 MB / 2.304 GB, free: 309.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.196e-05/4.684, allocations: 27.53 kB / 2.304 GB, free: 309.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004817/4.684, allocations: 69.5 kB / 2.304 GB, free: 309.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002288/4.687, allocations: 0.8509 MB / 2.305 GB, free: 309.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002462/4.689, allocations: 1.084 MB / 2.306 GB, free: 308.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/4.689, allocations: 3.938 kB / 2.306 GB, free: 308.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/4.689, allocations: 7.703 kB / 2.306 GB, free: 308.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/4.689, allocations: 24.34 kB / 2.306 GB, free: 308.5 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.009075/4.698, allocations: 6.45 MB / 2.312 GB, free: 303.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008904/4.699, allocations: 0.5929 MB / 2.313 GB, free: 303.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/4.7, allocations: 368.5 kB / 2.313 GB, free: 303.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003191/4.703, allocations: 1.61 MB / 2.315 GB, free: 302.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004879/4.703, allocations: 334.9 kB / 2.315 GB, free: 302.1 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001033/4.705, allocations: 109 kB / 2.315 GB, free: 302.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 4.428e-06/4.705, allocations: 0 / 2.315 GB, free: 302.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=47): time 0.002131/4.707, allocations: 0.8272 MB / 2.316 GB, free: 301.7 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/4.707, allocations: 57.38 kB / 2.316 GB, free: 301.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002623/4.709, allocations: 1.357 MB / 2.317 GB, free: 301.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.681e-05/4.709, allocations: 29.48 kB / 2.318 GB, free: 301.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007786/4.71, allocations: 0.8493 MB / 2.318 GB, free: 300.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/4.71, allocations: 166.7 kB / 2.319 GB, free: 300.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/4.71, allocations: 0 / 2.319 GB, free: 300.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.799e-05/4.711, allocations: 339 kB / 2.319 GB, free: 300 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003911/4.711, allocations: 259.5 kB / 2.319 GB, free: 299.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006434/4.712, allocations: 0.6885 MB / 2.32 GB, free: 299.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/4.713, allocations: 413.4 kB / 2.32 GB, free: 299.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/4.713, allocations: 1.625 kB / 2.32 GB, free: 299.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002413/4.715, allocations: 1.114 MB / 2.321 GB, free: 298.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001142/4.716, allocations: 4.099 MB / 2.325 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.003e-05/4.716, allocations: 11.88 kB / 2.325 GB, free: 294.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000346/4.717, allocations: 126.9 kB / 2.325 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007251/4.717, allocations: 184.1 kB / 2.326 GB, free: 294.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006499/4.718, allocations: 0.7999 MB / 2.326 GB, free: 293.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/4.72, allocations: 92.14 kB / 2.326 GB, free: 293.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/4.72, allocations: 48.08 kB / 2.326 GB, free: 293.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/4.72, allocations: 3.812 kB / 2.326 GB, free: 293.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001893/4.722, allocations: 0.9363 MB / 2.327 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/4.722, allocations: 10.25 kB / 2.327 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/4.722, allocations: 109.7 kB / 2.327 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006251/4.723, allocations: 172.8 kB / 2.328 GB, free: 293.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/4.725, allocations: 2.031 MB / 2.33 GB, free: 291.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/4.726, allocations: 87.69 kB / 2.33 GB, free: 291.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.31e-05/4.726, allocations: 44.16 kB / 2.33 GB, free: 291.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete 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.0002617/4.726, allocations: 137.1 kB / 2.33 GB, free: 291.5 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001592/4.728, allocations: 0.7681 MB / 2.331 GB, free: 291.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002966/4.728, allocations: 161.5 kB / 2.331 GB, free: 291.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/4.73, allocations: 0.9144 MB / 2.332 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/4.73, allocations: 3.906 kB / 2.332 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/4.73, allocations: 0 / 2.332 GB, free: 290.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001077/4.731, allocations: 0.8828 MB / 2.333 GB, free: 290.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003397/4.735, allocations: 2.001 MB / 2.335 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/4.735, allocations: 7.375 kB / 2.335 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005192/4.735, allocations: 100.8 kB / 2.335 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002133/4.735, allocations: 98.3 kB / 2.335 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/4.735, allocations: 11.55 kB / 2.335 GB, free: 289.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004578/4.736, allocations: 0.7296 MB / 2.335 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/4.736, allocations: 0 / 2.335 GB, free: 288.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/4.738, allocations: 1.305 MB / 2.337 GB, free: 288 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006432/4.738, allocations: 310.8 kB / 2.337 GB, free: 287.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/4.739, allocations: 3.938 kB / 2.337 GB, free: 287.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007712/4.739, allocations: 82.72 kB / 2.337 GB, free: 287.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/4.739, allocations: 37.75 kB / 2.337 GB, free: 287.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.306e-05/4.739, allocations: 23.98 kB / 2.337 GB, free: 287.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00138/4.741, allocations: 1.048 MB / 2.338 GB, free: 287.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.31e-07/4.741, allocations: 0 / 2.338 GB, free: 287.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003009/4.744, allocations: 0.8521 MB / 2.339 GB, free: 287.2 MB / 1.151 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * 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.003346/4.747, allocations: 2.589 MB / 2.342 GB, free: 285.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00207/4.749, allocations: 1.364 MB / 2.343 GB, free: 285.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/4.749, allocations: 3.844 kB / 2.343 GB, free: 285.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004221/4.75, allocations: 300.6 kB / 2.343 GB, free: 285.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002833/4.753, allocations: 0.6268 MB / 2.344 GB, free: 284.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/4.758, allocations: 2.678 MB / 2.346 GB, free: 284 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008795/4.759, allocations: 1.538 MB / 2.348 GB, free: 283.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002571/4.761, allocations: 0.8054 MB / 2.349 GB, free: 283.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006847/4.762, allocations: 0.635 MB / 2.349 GB, free: 282.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.342e-06/4.762, allocations: 0 / 2.349 GB, free: 282.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08343/4.845, allocations: 45.46 MB / 2.394 GB, free: 246.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002162/4.846, allocations: 163.3 kB / 2.394 GB, free: 246.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.717/8.562, allocations: 0 / 2.394 GB, free: 246.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example3_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example3_res.mat does not exist to compare? outputFormat=mat