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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009228/0.0009228, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.451/2.451, allocations: 390.4 MB / 0.6655 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003313, allocations: 8 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6851/0.6855, allocations: 142.3 MB / 0.9538 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.02791/0.7134, allocations: 30.06 MB / 0.9832 GB, free: 132 kB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01473/0.7282, allocations: 9.79 MB / 0.9928 GB, free: 8.191 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.7303, allocations: 39.75 kB / 0.9928 GB, free: 8.152 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.7321, allocations: 493 kB / 0.9933 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.003835/0.736, allocations: 1.291 MB / 0.9945 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.003376/0.7394, allocations: 1.069 MB / 0.9956 GB, free: 5.309 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.006488/0.7459, allocations: 5.525 MB / 1.001 GB, free: 15.77 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00245/0.7484, allocations: 1.603 MB / 1.003 GB, free: 14.14 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/0.7519, allocations: 1.56 MB / 1.004 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002624/0.7545, allocations: 1.291 MB / 1.005 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0002962/0.7549, allocations: 72 kB / 1.005 GB, free: 11.21 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.7577, allocations: 0.8893 MB / 1.006 GB, free: 10.32 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0005869/0.7583, allocations: 382.3 kB / 1.007 GB, free: 9.945 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.000901/0.7592, allocations: 400.6 kB / 1.007 GB, free: 9.547 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003177/0.7624, allocations: 2.174 MB / 1.009 GB, free: 7.367 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.7624, allocations: 0 / 1.009 GB, free: 7.367 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.916e-06/0.7624, allocations: 0 / 1.009 GB, free: 7.367 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.382e-05/0.7625, allocations: 0 / 1.009 GB, free: 7.367 MB / 0.7637 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.003962/0.7664, allocations: 2.104 MB / 1.011 GB, free: 5.195 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.7665, allocations: 12.03 kB / 1.011 GB, free: 5.184 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002651/0.7668, allocations: 147.8 kB / 1.011 GB, free: 5.031 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.7684, allocations: 401.1 kB / 1.012 GB, free: 4.637 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003286/0.7718, allocations: 1.649 MB / 1.013 GB, free: 2.941 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.131e-05/0.7718, allocations: 82 kB / 1.013 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.772, allocations: 108 kB / 1.014 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.7743, allocations: 1.365 MB / 1.015 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.926e-05/0.7744, allocations: 3.938 kB / 1.015 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.6e-05/0.7745, allocations: 44 kB / 1.015 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.7745, allocations: 27.95 kB / 1.015 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002316/0.7768, allocations: 1.151 MB / 1.016 GB, free: 92 kB / 0.7637 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.007751/0.7846, allocations: 7.067 MB / 1.023 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.7861, allocations: 0.7127 MB / 1.024 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008338/0.7869, allocations: 458.4 kB / 1.024 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002755/0.7897, allocations: 1.867 MB / 1.026 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008893/0.7906, allocations: 452.8 kB / 1.026 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004985/0.7911, allocations: 103.3 kB / 1.026 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=46): time 2.715e-06/0.7911, allocations: 0 / 1.026 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46): time 0.00399/0.7951, allocations: 1.625 MB / 1.028 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.7951, allocations: 55.41 kB / 1.028 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/0.7973, allocations: 1.855 MB / 1.03 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.47e-05/0.7974, allocations: 41.7 kB / 1.03 GB, free: 1.129 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006653/0.798, allocations: 0.8543 MB / 1.031 GB, free: 272 kB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.7982, allocations: 165.7 kB / 1.031 GB, free: 104 kB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.515e-05/0.7982, allocations: 16 kB / 1.031 GB, free: 88 kB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.7983, allocations: 334 kB / 1.031 GB, free: 15.75 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007626/0.7991, allocations: 349.8 kB / 1.032 GB, free: 15.41 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001072/0.8002, allocations: 0.82 MB / 1.032 GB, free: 14.38 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009227/0.8011, allocations: 474.3 kB / 1.033 GB, free: 13.91 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.8012, allocations: 4 kB / 1.033 GB, free: 13.91 MB / 0.795 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002958/0.8041, allocations: 1.414 MB / 1.034 GB, free: 12.48 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003047/0.8044, allocations: 435.3 kB / 1.035 GB, free: 11.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.642e-05/0.8045, allocations: 12 kB / 1.035 GB, free: 11.89 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007839/0.8052, allocations: 220.6 kB / 1.035 GB, free: 11.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/0.806, allocations: 187.7 kB / 1.035 GB, free: 11.49 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007604/0.8067, allocations: 0.8449 MB / 1.036 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.8082, allocations: 132.6 kB / 1.036 GB, free: 10.49 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.497e-05/0.8082, allocations: 51.94 kB / 1.036 GB, free: 10.44 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.8083, allocations: 4 kB / 1.036 GB, free: 10.44 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001968/0.8102, allocations: 1.09 MB / 1.037 GB, free: 9.336 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.8103, allocations: 15.98 kB / 1.037 GB, free: 9.32 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003547/0.8106, allocations: 157.3 kB / 1.037 GB, free: 9.164 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005871/0.8112, allocations: 171.7 kB / 1.037 GB, free: 8.996 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.8136, allocations: 2.36 MB / 1.04 GB, free: 6.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.8149, allocations: 126.2 kB / 1.04 GB, free: 6.375 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.315e-05/0.815, allocations: 47.98 kB / 1.04 GB, free: 6.328 MB / 0.795 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.0009673/0.816, allocations: 0.5864 MB / 1.04 GB, free: 5.73 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/0.8162, allocations: 169.8 kB / 1.041 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/0.8186, allocations: 1.14 MB / 1.042 GB, free: 4.414 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.475e-05/0.8186, allocations: 8 kB / 1.042 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.8186, allocations: 0 / 1.042 GB, free: 4.406 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001792/0.8204, allocations: 1.085 MB / 1.043 GB, free: 3.246 MB / 0.795 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.00408/0.8245, allocations: 2.407 MB / 1.045 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.8245, allocations: 4.062 kB / 1.045 GB, free: 0.75 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005215/0.8251, allocations: 111.8 kB / 1.045 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000306/0.8254, allocations: 147.8 kB / 1.045 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.193e-05/0.8254, allocations: 15.98 kB / 1.045 GB, free: 492 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006434/0.8261, allocations: 0.806 MB / 1.046 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.8261, allocations: 0 / 1.046 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002938/0.829, allocations: 1.585 MB / 1.048 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006881/0.8297, allocations: 350.7 kB / 1.048 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003/0.83, allocations: 11.95 kB / 1.048 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.8311, allocations: 111.9 kB / 1.048 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.8312, allocations: 40.38 kB / 1.048 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.437e-05/0.8313, allocations: 27.98 kB / 1.048 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002025/0.8333, allocations: 1.278 MB / 1.05 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8334, allocations: 3.938 kB / 1.05 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003157/0.8365, allocations: 0.8463 MB / 1.05 GB, free: 11.33 MB / 0.8106 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.004715/0.8412, allocations: 2.335 MB / 1.053 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003901/0.8452, allocations: 1.63 MB / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.8452, allocations: 4.188 kB / 1.054 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009355/0.8461, allocations: 402.4 kB / 1.055 GB, free: 6.906 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004466/0.8506, allocations: 0.844 MB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02379/0.8744, allocations: 11.5 MB / 1.067 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001277/0.8757, allocations: 1.499 MB / 1.068 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001794/0.8775, allocations: 422.2 kB / 1.069 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009352/0.8785, allocations: 0.6633 MB / 1.069 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of SimCode: time 1.432e-06/0.8785, allocations: 0 / 1.069 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08502/0.9635, allocations: 48.86 MB / 1.117 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/0.9638, allocations: 249.9 kB / 1.117 GB, free: 6.645 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.907/3.871, allocations: 3.938 kB / 1.117 GB, free: 6.641 MB / 0.8731 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