Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.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.Example1v1,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example1v1",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.154/2.154, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001186/0.001186, allocations: 169.2 kB / 498.1 MB, free: 5.688 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.501/1.501, allocations: 223.1 MB / 0.7948 GB, free: 17.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008306/0.0008306, allocations: 96.19 kB / 0.9346 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003682, allocations: 9.188 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2763, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.085/1.362, allocations: 419.6 MB / 1.633 GB, free: 7.512 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/1.362, allocations: 106.9 kB / 1.633 GB, free: 7.457 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.67/6.032, allocations: 1.343 GB / 2.976 GB, free: 226.6 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.635e-06/6.032, allocations: 0 / 2.976 GB, free: 226.6 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0009333/6.033, allocations: 94.2 kB / 2.976 GB, free: 226.6 MB / 1.182 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.01701/6.05, allocations: 4.056 MB / 2.98 GB, free: 224.7 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/6.05, allocations: 10.69 kB / 2.98 GB, free: 224.7 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001325/6.051, allocations: 231.3 kB / 2.98 GB, free: 224.5 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004208/6.056, allocations: 0.6223 MB / 2.98 GB, free: 224.3 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01461/6.07, allocations: 4.413 MB / 2.985 GB, free: 222.6 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002306/6.07, allocations: 138.2 kB / 2.985 GB, free: 222.6 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007724/6.071, allocations: 198.5 kB / 2.985 GB, free: 222.5 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005746/6.077, allocations: 2.256 MB / 2.987 GB, free: 221.4 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.907e-05/6.077, allocations: 3.938 kB / 2.987 GB, free: 221.4 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003664/6.077, allocations: 70.38 kB / 2.987 GB, free: 221.4 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/6.078, allocations: 39.84 kB / 2.987 GB, free: 221.4 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003925/6.081, allocations: 1.824 MB / 2.989 GB, free: 220.7 MB / 1.182 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.01645/6.098, allocations: 11.57 MB / 3 GB, free: 212.5 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002496/6.1, allocations: 1.308 MB / 3.002 GB, free: 212 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007228/6.108, allocations: 3.481 MB / 3.005 GB, free: 209.6 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/6.109, allocations: 0.7485 MB / 3.006 GB, free: 209.2 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002635/6.112, allocations: 0.61 MB / 3.006 GB, free: 208.9 MB / 1.182 GB Notification: Performance of pre-optimization done (n=98): time 9.567e-06/6.112, allocations: 3.562 kB / 3.006 GB, free: 208.9 MB / 1.182 GB Notification: Performance of matching and sorting (n=98): time 0.008936/6.121, allocations: 3.627 MB / 3.01 GB, free: 207.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/6.121, allocations: 66.97 kB / 3.01 GB, free: 207.1 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005468/6.126, allocations: 2.489 MB / 3.012 GB, free: 205.8 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0002713/6.127, allocations: 58.48 kB / 3.013 GB, free: 205.8 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001799/6.128, allocations: 1.424 MB / 3.014 GB, free: 204.5 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004948/6.129, allocations: 345.3 kB / 3.014 GB, free: 204.3 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/6.129, allocations: 31.56 kB / 3.014 GB, free: 204.2 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001436/6.129, allocations: 364.2 kB / 3.015 GB, free: 203.9 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/6.131, allocations: 0.5781 MB / 3.015 GB, free: 203.6 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/6.133, allocations: 1.346 MB / 3.017 GB, free: 202.3 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/6.135, allocations: 0.7993 MB / 3.017 GB, free: 201.9 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.011e-05/6.135, allocations: 4.625 kB / 3.017 GB, free: 201.9 MB / 1.182 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00675/6.141, allocations: 2.5 MB / 3.02 GB, free: 200.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001565/6.143, allocations: 5.981 MB / 3.026 GB, free: 194.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/6.143, allocations: 10.97 kB / 3.026 GB, free: 194.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/6.144, allocations: 0.5116 MB / 3.026 GB, free: 193.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/6.145, allocations: 281.2 kB / 3.026 GB, free: 193.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/6.147, allocations: 1.891 MB / 3.028 GB, free: 192.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002939/6.15, allocations: 189.8 kB / 3.028 GB, free: 192.3 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001967/6.15, allocations: 77.66 kB / 3.028 GB, free: 192.3 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/6.15, allocations: 6.375 kB / 3.028 GB, free: 192.3 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003681/6.154, allocations: 2.248 MB / 3.031 GB, free: 191.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.139e-05/6.154, allocations: 12.56 kB / 3.031 GB, free: 191.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008325/6.155, allocations: 473 kB / 3.031 GB, free: 190.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001007/6.156, allocations: 274 kB / 3.031 GB, free: 190.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006156/6.162, allocations: 5.943 MB / 3.037 GB, free: 186.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/6.165, allocations: 188.1 kB / 3.037 GB, free: 186 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000223/6.165, allocations: 69.53 kB / 3.037 GB, free: 186 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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,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.001896/6.167, allocations: 0.8304 MB / 3.038 GB, free: 185.1 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000849/6.168, allocations: 288.3 kB / 3.039 GB, free: 184.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004578/6.172, allocations: 2.237 MB / 3.041 GB, free: 182.6 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/6.172, allocations: 15.44 kB / 3.041 GB, free: 182.6 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/6.172, allocations: 7.938 kB / 3.041 GB, free: 182.6 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00282/6.175, allocations: 1.93 MB / 3.043 GB, free: 180.6 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009494/6.185, allocations: 4.209 MB / 3.047 GB, free: 176.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/6.185, allocations: 3.984 kB / 3.047 GB, free: 176.4 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007551/6.185, allocations: 141.5 kB / 3.047 GB, free: 176.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009672/6.186, allocations: 484.1 kB / 3.047 GB, free: 175.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.899e-05/6.187, allocations: 31.97 kB / 3.047 GB, free: 175.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/6.188, allocations: 1.844 MB / 3.049 GB, free: 173.9 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/6.188, allocations: 0 / 3.049 GB, free: 173.9 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005228/6.193, allocations: 2.977 MB / 3.052 GB, free: 170.9 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001945/6.195, allocations: 497.1 kB / 3.053 GB, free: 170.4 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009471/6.196, allocations: 24.06 kB / 3.053 GB, free: 170.3 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/6.198, allocations: 159.5 kB / 3.053 GB, free: 170.2 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/6.199, allocations: 68.89 kB / 3.053 GB, free: 170.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/6.199, allocations: 39.98 kB / 3.053 GB, free: 170.1 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003933/6.203, allocations: 1.951 MB / 3.055 GB, free: 168.1 MB / 1.182 GB Notification: Performance of sort global known variables: time 2e-07/6.203, allocations: 0 / 3.055 GB, free: 168.1 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.006358/6.209, allocations: 1.453 MB / 3.056 GB, free: 166.7 MB / 1.182 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 (60): * Single equations (assignments): 52 * 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.007277/6.216, allocations: 4.41 MB / 3.06 GB, free: 162.4 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005456/6.222, allocations: 2.959 MB / 3.063 GB, free: 159.4 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/6.222, allocations: 320 / 3.063 GB, free: 159.4 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001234/6.223, allocations: 0.7212 MB / 3.064 GB, free: 158.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005834/6.229, allocations: 1.177 MB / 3.065 GB, free: 157.5 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0168/6.246, allocations: 17.95 MB / 3.083 GB, free: 138.6 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002152/6.248, allocations: 2.095 MB / 3.085 GB, free: 136.5 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003274/6.251, allocations: 0.6529 MB / 3.085 GB, free: 135.9 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001585/6.253, allocations: 1.155 MB / 3.087 GB, free: 134.7 MB / 1.182 GB Notification: Performance of SimCode: time 1.152e-06/6.253, allocations: 0 / 3.087 GB, free: 134.7 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1223/6.375, allocations: 83.19 MB / 3.168 GB, free: 53.68 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/6.375, allocations: 254.6 kB / 3.168 GB, free: 53.36 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.258/11.63, allocations: 0 / 3.168 GB, free: 53.36 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example1v1_res.mat does not exist to compare? outputFormat=mat