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.295/2.295, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.001074/0.001074, allocations: 188.8 kB / 487.4 MB, free: 4.98 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.484/1.484, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 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.001064/0.001064, allocations: 101.4 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.388e-05/2.39e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2836, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.205/1.489, allocations: 418.9 MB / 1.615 GB, free: 2.48 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/1.489, allocations: 96.56 kB / 1.615 GB, free: 2.434 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.845/6.334, allocations: 1.331 GB / 2.946 GB, free: 137.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 4.248e-06/6.334, allocations: 4 kB / 2.946 GB, free: 137.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007235/6.334, allocations: 94.02 kB / 2.946 GB, free: 137.6 MB / 1.167 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.01524/6.35, allocations: 3.121 MB / 2.949 GB, free: 134.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.102e-05/6.35, allocations: 12.56 kB / 2.949 GB, free: 134.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004361/6.354, allocations: 0.6242 MB / 2.95 GB, free: 133.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01146/6.366, allocations: 4.361 MB / 2.954 GB, free: 129.5 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.932e-05/6.366, allocations: 48 kB / 2.954 GB, free: 129.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000498/6.366, allocations: 120 kB / 2.954 GB, free: 129.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002608/6.369, allocations: 1.63 MB / 2.956 GB, free: 127.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/6.371, allocations: 1.825 MB / 2.957 GB, free: 125.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.242e-05/6.371, allocations: 7.938 kB / 2.957 GB, free: 125.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/6.372, allocations: 4 kB / 2.957 GB, free: 125.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.743e-05/6.372, allocations: 40 kB / 2.958 GB, free: 125.7 MB / 1.167 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.0128/6.384, allocations: 11.25 MB / 2.969 GB, free: 113.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001521/6.386, allocations: 1.257 MB / 2.97 GB, free: 112.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008911/6.387, allocations: 0.9077 MB / 2.971 GB, free: 111.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005374/6.392, allocations: 3.413 MB / 2.974 GB, free: 108 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008029/6.393, allocations: 0.6603 MB / 2.975 GB, free: 107.4 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002155/6.395, allocations: 0.5727 MB / 2.975 GB, free: 106.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=98): time 3.546e-06/6.395, allocations: 0 / 2.975 GB, free: 106.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=98): time 0.006743/6.402, allocations: 2.455 MB / 2.978 GB, free: 104.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/6.402, allocations: 68.12 kB / 2.978 GB, free: 104.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002882/6.405, allocations: 2.217 MB / 2.98 GB, free: 102.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/6.405, allocations: 29.7 kB / 2.98 GB, free: 102 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001023/6.406, allocations: 1.411 MB / 2.981 GB, free: 100.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/6.406, allocations: 343 kB / 2.982 GB, free: 100.3 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/6.406, allocations: 0 / 2.982 GB, free: 100.3 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001035/6.407, allocations: 357.9 kB / 2.982 GB, free: 99.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/6.407, allocations: 0.5311 MB / 2.982 GB, free: 99.37 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009384/6.408, allocations: 1.272 MB / 2.984 GB, free: 97.73 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004529/6.413, allocations: 1.325 MB / 2.985 GB, free: 96.41 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/6.413, allocations: 4 kB / 2.985 GB, free: 96.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.007436/6.42, allocations: 2.926 MB / 2.988 GB, free: 93.48 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001043/6.421, allocations: 5.948 MB / 2.994 GB, free: 86.94 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.256e-05/6.421, allocations: 17.88 kB / 2.994 GB, free: 86.93 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008122/6.422, allocations: 437.6 kB / 2.994 GB, free: 86.49 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/6.423, allocations: 277.5 kB / 2.994 GB, free: 86.22 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/6.425, allocations: 2.017 MB / 2.996 GB, free: 84.16 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/6.427, allocations: 144.2 kB / 2.996 GB, free: 84.02 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001456/6.427, allocations: 79.97 kB / 2.996 GB, free: 83.94 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/6.428, allocations: 4 kB / 2.996 GB, free: 83.93 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006323/6.434, allocations: 2.524 MB / 2.999 GB, free: 81.38 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/6.434, allocations: 12 kB / 2.999 GB, free: 81.37 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007255/6.435, allocations: 409.7 kB / 2.999 GB, free: 80.96 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009897/6.436, allocations: 277.4 kB / 3 GB, free: 80.69 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005514/6.441, allocations: 5.612 MB / 3.005 GB, free: 74.86 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002593/6.444, allocations: 156 kB / 3.005 GB, free: 74.71 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/6.444, allocations: 71.97 kB / 3.005 GB, free: 74.64 MB / 1.167 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 () * 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.0004462/6.444, allocations: 153.6 kB / 3.005 GB, free: 74.48 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006563/6.451, allocations: 2.293 MB / 3.008 GB, free: 72.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005574/6.452, allocations: 280.4 kB / 3.008 GB, free: 71.92 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007284/6.459, allocations: 2.595 MB / 3.011 GB, free: 69.33 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/6.459, allocations: 12 kB / 3.011 GB, free: 69.32 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/6.459, allocations: 7.938 kB / 3.011 GB, free: 69.31 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005525/6.464, allocations: 2.308 MB / 3.013 GB, free: 66.96 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/6.475, allocations: 4.403 MB / 3.017 GB, free: 62.54 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/6.475, allocations: 0 / 3.017 GB, free: 62.54 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/6.476, allocations: 145.7 kB / 3.017 GB, free: 62.39 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006617/6.477, allocations: 373.2 kB / 3.018 GB, free: 62.02 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.463e-05/6.477, allocations: 19.97 kB / 3.018 GB, free: 62 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001253/6.478, allocations: 1.862 MB / 3.019 GB, free: 60.09 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/6.478, allocations: 0 / 3.019 GB, free: 60.09 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007023/6.485, allocations: 3.286 MB / 3.023 GB, free: 56.79 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/6.487, allocations: 485.3 kB / 3.023 GB, free: 56.29 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/6.487, allocations: 3.984 kB / 3.023 GB, free: 56.29 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/6.488, allocations: 135.5 kB / 3.023 GB, free: 56.16 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/6.488, allocations: 73.14 kB / 3.023 GB, free: 56.08 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.304e-05/6.488, allocations: 35.98 kB / 3.023 GB, free: 56.05 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002293/6.491, allocations: 1.686 MB / 3.025 GB, free: 54.37 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/6.491, allocations: 0 / 3.025 GB, free: 54.37 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004399/6.495, allocations: 1.396 MB / 3.026 GB, free: 52.97 MB / 1.167 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) * 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.008976/6.504, allocations: 4.67 MB / 3.031 GB, free: 48.37 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004204/6.508, allocations: 2.779 MB / 3.034 GB, free: 45.55 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/6.508, allocations: 4.25 kB / 3.034 GB, free: 45.55 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000856/6.509, allocations: 0.6322 MB / 3.034 GB, free: 44.92 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005391/6.515, allocations: 1.077 MB / 3.035 GB, free: 43.88 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/6.525, allocations: 4.505 MB / 3.04 GB, free: 39.34 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/6.527, allocations: 2.104 MB / 3.042 GB, free: 37.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00533/6.532, allocations: 1.407 MB / 3.043 GB, free: 35.84 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/6.533, allocations: 1.101 MB / 3.044 GB, free: 34.73 MB / 1.167 GB Notification: Performance of SimCode: time 1.092e-06/6.534, allocations: 0 / 3.044 GB, free: 34.73 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.889/7.423, allocations: 78.14 MB / 3.12 GB, free: 212.3 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/7.423, allocations: 166.8 kB / 3.121 GB, free: 212.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.612/13.04, allocations: 0 / 3.121 GB, free: 212.1 MB / 1.167 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