Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.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.Chillers.Examples.ElectricEIR_AirCooled,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled",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.175/2.175, 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.001046/0.001046, allocations: 188.8 kB / 487.4 MB, free: 5.016 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.492/1.492, allocations: 221.5 MB / 0.7824 GB, free: 0.9961 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.001052/0.001052, allocations: 91.08 kB / 0.9219 GB, free: 2.227 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.038e-05/2.04e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3135, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.585/5.899, allocations: 2.216 GB / 3.422 GB, free: 83.31 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002099/5.899, allocations: 100.7 kB / 3.422 GB, free: 83.26 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.303/10.2, allocations: 1.051 GB / 4.473 GB, free: 193.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.353e-06/10.2, allocations: 0 / 4.473 GB, free: 193.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002766/10.2, allocations: 72.75 kB / 4.473 GB, free: 193.9 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: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.007396/10.21, allocations: 2.805 MB / 4.476 GB, free: 192.8 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/10.21, allocations: 7.625 kB / 4.476 GB, free: 192.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006548/10.22, allocations: 1.02 MB / 4.477 GB, free: 192.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004849/10.22, allocations: 2.086 MB / 4.479 GB, free: 192.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/10.22, allocations: 151.2 kB / 4.479 GB, free: 192.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003486/10.22, allocations: 116.2 kB / 4.479 GB, free: 192.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003357/10.23, allocations: 2.152 MB / 4.481 GB, free: 192.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003053/10.23, allocations: 1.895 MB / 4.483 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.763e-05/10.23, allocations: 6.656 kB / 4.483 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001935/10.23, allocations: 6.062 kB / 4.483 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-05/10.23, allocations: 71.67 kB / 4.483 GB, free: 192 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.01239/10.24, allocations: 8.354 MB / 4.491 GB, free: 189.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005295/10.25, allocations: 1.996 MB / 4.493 GB, free: 189.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/10.25, allocations: 0.7928 MB / 4.494 GB, free: 189.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007157/10.25, allocations: 0.8773 MB / 4.495 GB, free: 188.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/10.25, allocations: 0.9989 MB / 4.496 GB, free: 188 MB / 1.167 GB Notification: Performance of pre-optimization done (n=158): time 6.702e-06/10.25, allocations: 0 / 4.496 GB, free: 188 MB / 1.167 GB Notification: Performance of matching and sorting (n=158): time 0.004348/10.25, allocations: 1.719 MB / 4.498 GB, free: 187.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.378e-05/10.25, allocations: 302.8 kB / 4.498 GB, free: 187.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002944/10.26, allocations: 1.427 MB / 4.499 GB, free: 187.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000253/10.26, allocations: 29.55 kB / 4.499 GB, free: 187.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001127/10.26, allocations: 1.057 MB / 4.5 GB, free: 187 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005186/10.26, allocations: 0.4982 MB / 4.501 GB, free: 186.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/10.26, allocations: 0 / 4.501 GB, free: 186.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001239/10.26, allocations: 362.3 kB / 4.501 GB, free: 186.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000984/10.26, allocations: 0.6063 MB / 4.502 GB, free: 186.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001157/10.26, allocations: 0.9331 MB / 4.503 GB, free: 186 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/10.26, allocations: 0.7192 MB / 4.503 GB, free: 186 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/10.26, allocations: 0 / 4.503 GB, free: 186 MB / 1.167 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003855/10.27, allocations: 1.796 MB / 4.505 GB, free: 185.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002706/10.27, allocations: 1.147 MB / 4.506 GB, free: 184.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/10.27, allocations: 6.719 kB / 4.506 GB, free: 184.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006136/10.27, allocations: 89.31 kB / 4.506 GB, free: 184.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/10.27, allocations: 439.9 kB / 4.507 GB, free: 184.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/10.27, allocations: 2.071 MB / 4.509 GB, free: 182.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003122/10.28, allocations: 287.2 kB / 4.509 GB, free: 182.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002748/10.28, allocations: 75.72 kB / 4.509 GB, free: 182.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/10.28, allocations: 4.781 kB / 4.509 GB, free: 182.7 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003291/10.28, allocations: 1.556 MB / 4.511 GB, free: 182.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/10.28, allocations: 3.688 kB / 4.511 GB, free: 182.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005206/10.28, allocations: 90.14 kB / 4.511 GB, free: 182.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/10.28, allocations: 440.9 kB / 4.511 GB, free: 182.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/10.28, allocations: 1.472 MB / 4.513 GB, free: 181.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002955/10.29, allocations: 279.1 kB / 4.513 GB, free: 181.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002392/10.29, allocations: 74.31 kB / 4.513 GB, free: 181.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 174 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005342/10.29, allocations: 137.7 kB / 4.513 GB, free: 181.3 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003993/10.29, allocations: 1.686 MB / 4.515 GB, free: 181.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008184/10.29, allocations: 219.8 kB / 4.515 GB, free: 181 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004381/10.3, allocations: 2.078 MB / 4.517 GB, free: 180.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/10.3, allocations: 21.91 kB / 4.517 GB, free: 180.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/10.3, allocations: 0 / 4.517 GB, free: 180.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00289/10.3, allocations: 1.878 MB / 4.519 GB, free: 180.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008941/10.31, allocations: 4.716 MB / 4.523 GB, free: 179.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/10.31, allocations: 3.844 kB / 4.523 GB, free: 179.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002081/10.31, allocations: 447.9 kB / 4.524 GB, free: 179.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004853/10.31, allocations: 92.66 kB / 4.524 GB, free: 179.6 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/10.31, allocations: 36.42 kB / 4.524 GB, free: 179.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/10.31, allocations: 2.101 MB / 4.526 GB, free: 177.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/10.31, allocations: 3.625 kB / 4.526 GB, free: 177.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005242/10.32, allocations: 3.315 MB / 4.529 GB, free: 176.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001671/10.32, allocations: 0.6823 MB / 4.53 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007325/10.32, allocations: 10.98 kB / 4.53 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002643/10.32, allocations: 225.8 kB / 4.53 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/10.32, allocations: 135.2 kB / 4.53 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002255/10.32, allocations: 81.48 kB / 4.53 GB, free: 176.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002239/10.33, allocations: 1.082 MB / 4.531 GB, free: 176.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.343e-06/10.33, allocations: 0 / 4.531 GB, free: 176.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005661/10.33, allocations: 1.421 MB / 4.533 GB, free: 176.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (chi.vol1.dynBal.medium.Xi[1],chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol2.dynBal.U) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,pulse.T_start,pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext,chi.on) * Number of discrete states: 3 (pulse.count,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (172): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01083/10.34, allocations: 7.399 MB / 4.54 GB, free: 173.4 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005639/10.35, allocations: 2.804 MB / 4.543 GB, free: 173 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/10.35, allocations: 3.469 kB / 4.543 GB, free: 173 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001829/10.35, allocations: 1.016 MB / 4.544 GB, free: 172.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005924/10.36, allocations: 0.9603 MB / 4.545 GB, free: 172.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/10.37, allocations: 4.176 MB / 4.549 GB, free: 171.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001736/10.37, allocations: 1.725 MB / 4.55 GB, free: 171 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005559/10.38, allocations: 0.9662 MB / 4.551 GB, free: 171 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001535/10.38, allocations: 0.9865 MB / 4.552 GB, free: 171 MB / 1.167 GB Notification: Performance of SimCode: time 1.383e-06/10.38, allocations: 0 / 4.552 GB, free: 171 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1488/10.53, allocations: 76.51 MB / 4.627 GB, free: 167.5 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/10.53, allocations: 175.4 kB / 4.627 GB, free: 167.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.314/15.84, allocations: 0 / 4.627 GB, free: 167.3 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled_fmu --startTime=1.70208e+07 --stopTime=1.7064e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled.fmu > Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled_res.mat does not exist to compare? outputFormat=mat