Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.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.Example1v2,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example1v2",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.183/2.183, allocations: 387.1 MB / 399.7 MB, free: 9.438 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.001211/0.001211, allocations: 176.9 kB / 492.3 MB, free: 0.6094 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.407/1.407, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0009223/0.0009224, allocations: 95.27 kB / 0.9267 GB, free: 13.96 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.937e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2467, allocations: 142.4 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.081/1.328, allocations: 419.8 MB / 1.622 GB, free: 9.766 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/1.328, allocations: 95.38 kB / 1.623 GB, free: 9.719 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 9.504/10.83, allocations: 2.382 GB / 4.005 GB, free: 177.6 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.846e-06/10.83, allocations: 0 / 4.005 GB, free: 177.6 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.002178/10.83, allocations: 273.1 kB / 4.005 GB, free: 177.5 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: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03408/10.87, allocations: 7.364 MB / 4.012 GB, free: 175.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/10.87, allocations: 6.438 kB / 4.012 GB, free: 175.2 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00467/10.87, allocations: 0.7601 MB / 4.013 GB, free: 175.2 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/10.88, allocations: 1.335 MB / 4.014 GB, free: 174.6 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04781/10.93, allocations: 12.83 MB / 4.027 GB, free: 173.3 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007483/10.93, allocations: 436.7 kB / 4.027 GB, free: 173.3 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003916/10.94, allocations: 0.5856 MB / 4.028 GB, free: 173.3 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03447/10.97, allocations: 13.47 MB / 4.041 GB, free: 172.5 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005299/10.97, allocations: 27.53 kB / 4.041 GB, free: 172.5 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003725/10.98, allocations: 239.9 kB / 4.041 GB, free: 172.5 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/10.98, allocations: 146.5 kB / 4.041 GB, free: 172.5 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03163/11.01, allocations: 18.08 MB / 4.059 GB, free: 172.4 MB / 1.182 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.109/11.12, allocations: 55.46 MB / 4.113 GB, free: 153.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01285/11.13, allocations: 8.699 MB / 4.122 GB, free: 153.7 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01293/11.14, allocations: 9.269 MB / 4.131 GB, free: 153.5 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06107/11.2, allocations: 26.33 MB / 4.156 GB, free: 146.3 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01273/11.22, allocations: 7.329 MB / 4.164 GB, free: 146.2 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05252/11.27, allocations: 21.17 MB / 4.184 GB, free: 144.8 MB / 1.182 GB Notification: Performance of pre-optimization done (n=301): time 4.245e-05/11.27, allocations: 0 / 4.184 GB, free: 144.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=301): time 0.03722/11.31, allocations: 14.51 MB / 4.198 GB, free: 144.2 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/11.31, allocations: 89.67 kB / 4.199 GB, free: 144.1 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02093/11.33, allocations: 7.512 MB / 4.206 GB, free: 142.6 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.002721/11.33, allocations: 96.73 kB / 4.206 GB, free: 142.6 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.00648/11.34, allocations: 4.039 MB / 4.21 GB, free: 139.4 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.003745/11.34, allocations: 1.081 MB / 4.211 GB, free: 138.6 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0025/11.34, allocations: 91.41 kB / 4.211 GB, free: 138.6 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0005633/11.34, allocations: 0.4929 MB / 4.212 GB, free: 138.2 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01039/11.35, allocations: 6.08 MB / 4.218 GB, free: 135.7 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01217/11.37, allocations: 7.885 MB / 4.225 GB, free: 130.9 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01253/11.38, allocations: 6.999 MB / 4.232 GB, free: 128.2 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.873e-05/11.38, allocations: 13.81 kB / 4.232 GB, free: 128.2 MB / 1.182 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04428/11.42, allocations: 16.38 MB / 4.248 GB, free: 122.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.006616/11.43, allocations: 25.42 MB / 4.273 GB, free: 95.4 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001584/11.43, allocations: 45.66 kB / 4.273 GB, free: 95.4 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06654/11.5, allocations: 10.9 MB / 4.284 GB, free: 94.33 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009839/11.51, allocations: 1.617 MB / 4.285 GB, free: 93.49 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009772/11.52, allocations: 6.308 MB / 4.291 GB, free: 87.89 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01511/11.53, allocations: 0.6024 MB / 4.292 GB, free: 87.42 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003707/11.54, allocations: 0.5421 MB / 4.292 GB, free: 87.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/11.54, allocations: 4 kB / 4.292 GB, free: 87.09 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03681/11.57, allocations: 15.72 MB / 4.308 GB, free: 74.42 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002386/11.57, allocations: 52.06 kB / 4.308 GB, free: 74.37 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06745/11.64, allocations: 10.61 MB / 4.318 GB, free: 66.68 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009696/11.65, allocations: 1.61 MB / 4.32 GB, free: 65.68 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0141/11.66, allocations: 10.21 MB / 4.33 GB, free: 56.39 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01376/11.68, allocations: 0.5762 MB / 4.33 GB, free: 55.94 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003356/11.68, allocations: 0.5346 MB / 4.331 GB, free: 55.62 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * 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 (526): * Single equations (assignments): 520 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.005205/11.69, allocations: 403.2 kB / 4.331 GB, free: 55.29 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005452/11.69, allocations: 0.7641 MB / 4.332 GB, free: 54.52 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03393/11.73, allocations: 13.49 MB / 4.345 GB, free: 43.39 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.057e-05/11.73, allocations: 36 kB / 4.345 GB, free: 43.36 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.588e-05/11.73, allocations: 0 / 4.345 GB, free: 43.36 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01837/11.74, allocations: 10.07 MB / 4.355 GB, free: 34.28 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04706/11.79, allocations: 23.79 MB / 4.378 GB, free: 10.77 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/11.79, allocations: 0 / 4.378 GB, free: 10.77 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005355/11.8, allocations: 0.7142 MB / 4.379 GB, free: 10.08 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06252/11.86, allocations: 9.937 MB / 4.389 GB, free: 216 kB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001339/11.86, allocations: 99.94 kB / 4.389 GB, free: 116 kB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005555/11.87, allocations: 4.31 MB / 4.393 GB, free: 11.61 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/11.87, allocations: 0 / 4.393 GB, free: 11.61 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8995/12.77, allocations: 18.25 MB / 4.411 GB, free: 192 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01183/12.78, allocations: 2.009 MB / 4.413 GB, free: 191.9 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005638/12.78, allocations: 71.34 kB / 4.413 GB, free: 191.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01114/12.8, allocations: 427.5 kB / 4.413 GB, free: 191.9 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001649/12.8, allocations: 226.4 kB / 4.413 GB, free: 191.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001077/12.8, allocations: 156.7 kB / 4.414 GB, free: 191.9 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.01621/12.81, allocations: 5.822 MB / 4.419 GB, free: 191.6 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.182e-06/12.81, allocations: 0 / 4.419 GB, free: 191.6 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.03246/12.85, allocations: 4.934 MB / 4.424 GB, free: 191.6 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].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 (305): * Single equations (assignments): 295 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.03658/12.88, allocations: 19.84 MB / 4.443 GB, free: 190.3 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.04284/12.93, allocations: 23.52 MB / 4.466 GB, free: 189.5 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.036e-05/12.93, allocations: 0 / 4.466 GB, free: 189.5 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.008727/12.94, allocations: 6.093 MB / 4.472 GB, free: 189.3 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02504/12.96, allocations: 4.61 MB / 4.477 GB, free: 189.3 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04496/13.01, allocations: 19.66 MB / 4.496 GB, free: 186.4 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005027/13.01, allocations: 5.421 MB / 4.501 GB, free: 185.5 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.02955/13.04, allocations: 7.983 MB / 4.509 GB, free: 185.4 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009968/13.05, allocations: 3.708 MB / 4.513 GB, free: 185.4 MB / 1.198 GB Notification: Performance of SimCode: time 1.664e-06/13.05, allocations: 2.812 kB / 4.513 GB, free: 185.4 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4399/13.49, allocations: 301.3 MB / 4.807 GB, free: 13.07 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001579/13.49, allocations: 221.2 kB / 4.807 GB, free: 12.85 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/25.98, allocations: 6.734 kB / 4.807 GB, free: 12.85 MB / 1.198 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2_res.mat does not exist to compare? outputFormat=mat