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.196/2.196, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.0009846/0.0009846, allocations: 184.8 kB / 487.4 MB, free: 5.027 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.386/1.386, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 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.0009235/0.0009234, allocations: 103.8 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.491e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2943, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.212/1.506, allocations: 419.1 MB / 1.615 GB, free: 2.254 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/1.507, allocations: 92.33 kB / 1.615 GB, free: 2.211 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 10.55/12.06, allocations: 2.37 GB / 3.985 GB, free: 177.8 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.034e-06/12.06, allocations: 3.219 kB / 3.985 GB, free: 177.8 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.00189/12.06, allocations: 264.9 kB / 3.985 GB, free: 177.7 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.03717/12.1, allocations: 7.364 MB / 3.993 GB, free: 175.5 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/12.1, allocations: 10.44 kB / 3.993 GB, free: 175.5 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01189/12.11, allocations: 1.335 MB / 3.994 GB, free: 175 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03749/12.15, allocations: 12.83 MB / 4.007 GB, free: 173.8 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005773/12.15, allocations: 178.8 kB / 4.007 GB, free: 173.8 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003955/12.15, allocations: 355.9 kB / 4.007 GB, free: 173.8 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03272/12.19, allocations: 17.77 MB / 4.024 GB, free: 173.7 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04351/12.23, allocations: 12.55 MB / 4.037 GB, free: 173 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000532/12.23, allocations: 31.34 kB / 4.037 GB, free: 173 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004021/12.23, allocations: 10.84 kB / 4.037 GB, free: 173 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001476/12.23, allocations: 145.4 kB / 4.037 GB, free: 172.9 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.1054/12.34, allocations: 54.64 MB / 4.09 GB, free: 154.1 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/12.35, allocations: 8.657 MB / 4.099 GB, free: 154.1 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01198/12.36, allocations: 9.199 MB / 4.108 GB, free: 153.8 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05566/12.42, allocations: 26.29 MB / 4.133 GB, free: 146.4 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01214/12.43, allocations: 7.223 MB / 4.14 GB, free: 146.3 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05595/12.49, allocations: 21.04 MB / 4.161 GB, free: 145.3 MB / 1.182 GB Notification: Performance of pre-optimization done (n=301): time 6.06e-05/12.49, allocations: 0 / 4.161 GB, free: 145.3 MB / 1.182 GB Notification: Performance of matching and sorting (n=301): time 0.0433/12.53, allocations: 15.07 MB / 4.176 GB, free: 144.6 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/12.53, allocations: 83.75 kB / 4.176 GB, free: 144.6 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01791/12.55, allocations: 6.511 MB / 4.182 GB, free: 144.1 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.003036/12.55, allocations: 33.08 kB / 4.182 GB, free: 144.1 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.00627/12.56, allocations: 4.033 MB / 4.186 GB, free: 142.8 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.003936/12.56, allocations: 1.046 MB / 4.187 GB, free: 142.1 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002487/12.57, allocations: 0 / 4.187 GB, free: 142.1 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0005437/12.57, allocations: 0.4898 MB / 4.188 GB, free: 141.8 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009293/12.58, allocations: 6.026 MB / 4.193 GB, free: 141.8 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01154/12.59, allocations: 7.798 MB / 4.201 GB, free: 139.5 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01608/12.6, allocations: 7.546 MB / 4.208 GB, free: 139.4 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/12.6, allocations: 19.7 kB / 4.208 GB, free: 139.4 MB / 1.182 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04413/12.65, allocations: 16.59 MB / 4.225 GB, free: 135.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.008277/12.66, allocations: 24.72 MB / 4.249 GB, free: 109.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001679/12.66, allocations: 51.28 kB / 4.249 GB, free: 109.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004495/12.66, allocations: 1.543 MB / 4.25 GB, free: 109.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009565/12.67, allocations: 1.617 MB / 4.252 GB, free: 109.4 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01368/12.68, allocations: 6.966 MB / 4.259 GB, free: 105.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01363/12.7, allocations: 0.5104 MB / 4.259 GB, free: 105.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003175/12.7, allocations: 0.5442 MB / 4.26 GB, free: 105.4 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/12.7, allocations: 7.703 kB / 4.26 GB, free: 105.4 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03826/12.74, allocations: 15.75 MB / 4.275 GB, free: 100 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002262/12.74, allocations: 49.75 kB / 4.275 GB, free: 100 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00391/12.74, allocations: 1.412 MB / 4.277 GB, free: 99.73 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009603/12.75, allocations: 1.605 MB / 4.278 GB, free: 99.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01799/12.77, allocations: 10.5 MB / 4.288 GB, free: 93.34 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01448/12.79, allocations: 493.8 kB / 4.289 GB, free: 93.24 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004987/12.79, allocations: 0.5354 MB / 4.289 GB, free: 93.21 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.006872/12.8, allocations: 267.5 kB / 4.29 GB, free: 93.05 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03698/12.83, allocations: 14.89 MB / 4.304 GB, free: 87.68 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00574/12.84, allocations: 0.7094 MB / 4.305 GB, free: 87.3 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03572/12.88, allocations: 13.79 MB / 4.318 GB, free: 79.24 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-05/12.88, allocations: 36 kB / 4.318 GB, free: 79.21 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.819e-05/12.88, allocations: 0 / 4.318 GB, free: 79.21 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02093/12.9, allocations: 10.48 MB / 4.329 GB, free: 69.88 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05037/12.95, allocations: 23.54 MB / 4.352 GB, free: 50.11 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.278e-05/12.95, allocations: 0 / 4.352 GB, free: 50.11 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005677/12.95, allocations: 0.7073 MB / 4.352 GB, free: 49.55 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/12.95, allocations: 0.7042 MB / 4.353 GB, free: 48.95 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001043/12.96, allocations: 62.05 kB / 4.353 GB, free: 48.91 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008062/12.96, allocations: 5.007 MB / 4.358 GB, free: 44.11 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/12.96, allocations: 0 / 4.358 GB, free: 44.11 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03178/13, allocations: 18.49 MB / 4.376 GB, free: 27.37 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007944/13, allocations: 1.952 MB / 4.378 GB, free: 25.73 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004379/13.01, allocations: 18.7 kB / 4.378 GB, free: 25.72 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01028/13.02, allocations: 365.9 kB / 4.378 GB, free: 25.46 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001644/13.02, allocations: 220.2 kB / 4.378 GB, free: 25.33 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001509/13.02, allocations: 163.1 kB / 4.379 GB, free: 25.21 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.01192/13.03, allocations: 4.935 MB / 4.383 GB, free: 21.04 MB / 1.182 GB Notification: Performance of sort global known variables: time 5.61e-07/13.03, allocations: 0 / 4.383 GB, free: 21.04 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.03157/13.07, allocations: 5.027 MB / 4.388 GB, free: 16.02 MB / 1.182 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.0406/13.11, allocations: 20.34 MB / 4.408 GB, free: 14.87 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.9208/14.03, allocations: 24.26 MB / 4.432 GB, free: 182.1 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.869e-05/14.03, allocations: 3.25 kB / 4.432 GB, free: 182.1 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.0115/14.04, allocations: 6.005 MB / 4.438 GB, free: 182 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02853/14.07, allocations: 4.013 MB / 4.442 GB, free: 182 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05121/14.12, allocations: 19.13 MB / 4.46 GB, free: 179.1 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007164/14.13, allocations: 5.421 MB / 4.466 GB, free: 178.2 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.03978/14.17, allocations: 7.453 MB / 4.473 GB, free: 178.2 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01392/14.18, allocations: 3.714 MB / 4.477 GB, free: 178.2 MB / 1.198 GB Notification: Performance of SimCode: time 1.272e-06/14.18, allocations: 0 / 4.477 GB, free: 178.2 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4134/14.59, allocations: 267.7 MB / 4.738 GB, free: 87.5 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002183/14.59, allocations: 173.2 kB / 4.738 GB, free: 87.3 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/26.71, allocations: 0 / 4.738 GB, free: 87.3 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