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.00142/0.00142, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.001713/0.001713, allocations: 177.3 kB / 15.94 MB, free: 228 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.381/1.381, allocations: 223.2 MB / 239.9 MB, free: 5.309 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.356/2.356, allocations: 390.3 MB / 0.6653 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003605/0.0003608, allocations: 15.98 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7398/0.7401, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example3): time 0.03062/0.7708, allocations: 27.41 MB / 0.9804 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01591/0.7868, allocations: 9.141 MB / 0.9893 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00205/0.7889, allocations: 41.56 kB / 0.9893 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001988/0.7909, allocations: 0.5635 MB / 0.9899 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005029/0.7959, allocations: 1.497 MB / 0.9913 GB, free: 9.406 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.004282/0.8002, allocations: 1.342 MB / 0.9926 GB, free: 8.078 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.005725/0.8059, allocations: 2.86 MB / 0.9954 GB, free: 5.211 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002748/0.8087, allocations: 1.6 MB / 0.997 GB, free: 3.59 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003034/0.8117, allocations: 1.331 MB / 0.9983 GB, free: 2.254 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.8131, allocations: 0.9333 MB / 0.9992 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.8132, allocations: 68 kB / 0.9993 GB, free: 1.25 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.8152, allocations: 0.7685 MB / 1 GB, free: 492 kB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.000377/0.8156, allocations: 354.6 kB / 1 GB, free: 136 kB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004821/0.8161, allocations: 404.7 kB / 1.001 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002265/0.8184, allocations: 2.116 MB / 1.003 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.8184, allocations: 0 / 1.003 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8184, allocations: 0 / 1.003 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.851e-05/0.8184, allocations: 4 kB / 1.003 GB, free: 13.61 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.003469/0.8219, allocations: 2.065 MB / 1.005 GB, free: 11.47 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.8219, allocations: 8.031 kB / 1.005 GB, free: 11.46 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001944/0.8221, allocations: 151.8 kB / 1.005 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001671/0.8238, allocations: 401.1 kB / 1.005 GB, free: 10.91 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003344/0.8272, allocations: 1.646 MB / 1.007 GB, free: 9.223 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.8273, allocations: 81.94 kB / 1.007 GB, free: 9.141 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001594/0.8274, allocations: 104 kB / 1.007 GB, free: 9.039 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002253/0.8297, allocations: 1.354 MB / 1.008 GB, free: 7.613 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.367e-05/0.8297, allocations: 0 / 1.008 GB, free: 7.613 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.8298, allocations: 40 kB / 1.009 GB, free: 7.574 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.511e-05/0.8299, allocations: 31.89 kB / 1.009 GB, free: 7.543 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002387/0.8323, allocations: 1.147 MB / 1.01 GB, free: 6.395 MB / 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.008457/0.8407, allocations: 7.005 MB / 1.017 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.8423, allocations: 0.6938 MB / 1.017 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003019/0.8453, allocations: 1.905 MB / 1.019 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009834/0.8463, allocations: 448.8 kB / 1.019 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000563/0.8469, allocations: 103.3 kB / 1.02 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=46): time 2.114e-06/0.8469, allocations: 0 / 1.02 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=46): time 0.004376/0.8513, allocations: 1.594 MB / 1.021 GB, free: 9.977 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.8513, allocations: 55.41 kB / 1.021 GB, free: 9.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/0.8538, allocations: 1.871 MB / 1.023 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.279e-05/0.8539, allocations: 41.7 kB / 1.023 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007992/0.8547, allocations: 0.8736 MB / 1.024 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.8548, allocations: 149.8 kB / 1.024 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.8549, allocations: 19.98 kB / 1.024 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.855, allocations: 334 kB / 1.024 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008345/0.8559, allocations: 345.8 kB / 1.025 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.857, allocations: 0.8034 MB / 1.025 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009574/0.858, allocations: 474.3 kB / 1.026 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.858, allocations: 4 kB / 1.026 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003148/0.8612, allocations: 1.394 MB / 1.027 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.001796/0.863, allocations: 4.226 MB / 1.031 GB, free: 14.78 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.863, allocations: 11.94 kB / 1.031 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000817/0.8638, allocations: 227.6 kB / 1.032 GB, free: 14.54 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007788/0.8646, allocations: 195.7 kB / 1.032 GB, free: 14.35 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000803/0.8654, allocations: 0.8333 MB / 1.033 GB, free: 13.49 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.867, allocations: 140.4 kB / 1.033 GB, free: 13.36 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.64e-05/0.8671, allocations: 43.98 kB / 1.033 GB, free: 13.31 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.8671, allocations: 5.406 kB / 1.033 GB, free: 13.31 MB / 0.795 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002116/0.8692, allocations: 1.083 MB / 1.034 GB, free: 12.21 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.8693, allocations: 12 kB / 1.034 GB, free: 12.2 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003833/0.8696, allocations: 164.7 kB / 1.034 GB, free: 12.04 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/0.8703, allocations: 183.7 kB / 1.034 GB, free: 11.86 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002769/0.8731, allocations: 2.373 MB / 1.037 GB, free: 9.355 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.8746, allocations: 132.7 kB / 1.037 GB, free: 9.223 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.192e-05/0.8747, allocations: 43.98 kB / 1.037 GB, free: 9.18 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.0009912/0.8757, allocations: 0.5864 MB / 1.037 GB, free: 8.582 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.8759, allocations: 173.8 kB / 1.037 GB, free: 8.41 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002567/0.8785, allocations: 1.148 MB / 1.039 GB, free: 7.25 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.8785, allocations: 4 kB / 1.039 GB, free: 7.246 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.8786, allocations: 8 kB / 1.039 GB, free: 7.238 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002007/0.8806, allocations: 1.074 MB / 1.04 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004267/0.8848, allocations: 2.383 MB / 1.042 GB, free: 3.621 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.8849, allocations: 0 / 1.042 GB, free: 3.621 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000561/0.8854, allocations: 115.9 kB / 1.042 GB, free: 3.508 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000337/0.8858, allocations: 144.7 kB / 1.042 GB, free: 3.363 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.8858, allocations: 19.98 kB / 1.042 GB, free: 3.344 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006728/0.8865, allocations: 0.8021 MB / 1.043 GB, free: 2.516 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.8865, allocations: 3.938 kB / 1.043 GB, free: 2.512 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003129/0.8897, allocations: 1.587 MB / 1.045 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006702/0.8903, allocations: 354.7 kB / 1.045 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/0.8905, allocations: 15.98 kB / 1.045 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.8916, allocations: 115.7 kB / 1.045 GB, free: 392 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.238e-05/0.8917, allocations: 40.36 kB / 1.045 GB, free: 352 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/0.8917, allocations: 27.97 kB / 1.045 GB, free: 324 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001694/0.8934, allocations: 1.286 MB / 1.046 GB, free: 15 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8934, allocations: 0 / 1.046 GB, free: 15 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002314/0.8958, allocations: 0.8619 MB / 1.047 GB, free: 14.14 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.004077/0.8998, allocations: 2.483 MB / 1.05 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003416/0.9033, allocations: 1.613 MB / 1.051 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.9033, allocations: 3.938 kB / 1.051 GB, free: 9.973 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009343/0.9042, allocations: 391.8 kB / 1.052 GB, free: 9.594 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003707/0.9079, allocations: 0.8431 MB / 1.052 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009454/0.9174, allocations: 12 MB / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00108/0.9185, allocations: 1.534 MB / 1.066 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001706/0.9202, allocations: 438.1 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008758/0.9211, allocations: 0.6555 MB / 1.067 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of SimCode: time 8.62e-07/0.9211, allocations: 0 / 1.067 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08475/1.006, allocations: 48.11 MB / 1.114 GB, free: 10.15 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/1.006, allocations: 239.6 kB / 1.114 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.954/3.96, allocations: 4 kB / 1.114 GB, free: 9.84 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