Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.297/2.297, allocations: 390.5 MB / 398 MB, free: 10.93 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.001426/0.001426, allocations: 184.8 kB / 491.2 MB, free: 1.562 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.635/1.635, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.0008288/0.0008288, allocations: 87.97 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.817e-05/1.812e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2757, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.453/5.729, allocations: 2.219 GB / 3.431 GB, free: 56.76 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/5.729, allocations: 91.33 kB / 3.431 GB, free: 56.72 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.521/10.25, allocations: 1.051 GB / 4.482 GB, free: 193.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.763e-06/10.25, allocations: 0 / 4.482 GB, free: 193.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004532/10.25, allocations: 68.66 kB / 4.482 GB, free: 193.8 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: 484 * Number of variables: 484 Notification: Performance of Generate backend data structure: time 0.009883/10.26, allocations: 2.81 MB / 4.485 GB, free: 192.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/10.26, allocations: 11.28 kB / 4.485 GB, free: 192.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008455/10.27, allocations: 0.972 MB / 4.486 GB, free: 192.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008399/10.28, allocations: 2.099 MB / 4.488 GB, free: 192.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003264/10.28, allocations: 152.1 kB / 4.488 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000995/10.28, allocations: 117.9 kB / 4.488 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005925/10.28, allocations: 2.216 MB / 4.491 GB, free: 192 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006539/10.29, allocations: 1.936 MB / 4.492 GB, free: 191.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.258e-05/10.29, allocations: 3.781 kB / 4.492 GB, free: 191.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005219/10.29, allocations: 0 / 4.492 GB, free: 191.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.661e-05/10.29, allocations: 70.02 kB / 4.492 GB, free: 191.8 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.01653/10.31, allocations: 8.52 MB / 4.501 GB, free: 188.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00522/10.31, allocations: 2 MB / 4.503 GB, free: 188.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/10.31, allocations: 0.8175 MB / 4.504 GB, free: 188.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006969/10.32, allocations: 0.8093 MB / 4.504 GB, free: 188 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001475/10.32, allocations: 1.02 MB / 4.505 GB, free: 187.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=159): time 6.322e-06/10.32, allocations: 0 / 4.505 GB, free: 187.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=159): time 0.01159/10.33, allocations: 2.555 MB / 4.508 GB, free: 187.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/10.33, allocations: 307.8 kB / 4.508 GB, free: 187.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003894/10.33, allocations: 1.426 MB / 4.51 GB, free: 187.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006307/10.33, allocations: 29.64 kB / 4.51 GB, free: 187.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001199/10.33, allocations: 1.045 MB / 4.511 GB, free: 186.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009141/10.34, allocations: 0.5088 MB / 4.511 GB, free: 186.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00019/10.34, allocations: 0 / 4.511 GB, free: 186.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001658/10.34, allocations: 359 kB / 4.511 GB, free: 186.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00125/10.34, allocations: 0.6315 MB / 4.512 GB, free: 186.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001479/10.34, allocations: 0.9631 MB / 4.513 GB, free: 185.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/10.34, allocations: 0.7298 MB / 4.514 GB, free: 185.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/10.34, allocations: 0 / 4.514 GB, free: 185.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01159/10.35, allocations: 2.637 MB / 4.516 GB, free: 185.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003671/10.35, allocations: 1.14 MB / 4.517 GB, free: 184.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.096e-05/10.35, allocations: 3.906 kB / 4.517 GB, free: 184.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/10.35, allocations: 0.5734 MB / 4.518 GB, free: 184.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002095/10.36, allocations: 356.5 kB / 4.518 GB, free: 184.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01408/10.37, allocations: 5.346 MB / 4.523 GB, free: 181.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003429/10.37, allocations: 286.1 kB / 4.524 GB, free: 181.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005527/10.37, allocations: 74.92 kB / 4.524 GB, free: 181.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/10.37, allocations: 3.125 kB / 4.524 GB, free: 181.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01153/10.39, allocations: 2.387 MB / 4.526 GB, free: 181.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.744e-05/10.39, allocations: 2.938 kB / 4.526 GB, free: 181.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/10.39, allocations: 0.5633 MB / 4.527 GB, free: 181.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/10.39, allocations: 350 kB / 4.527 GB, free: 181.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/10.4, allocations: 4.751 MB / 4.532 GB, free: 178.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003611/10.41, allocations: 281.7 kB / 4.532 GB, free: 178.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006101/10.41, allocations: 74.11 kB / 4.532 GB, free: 178.6 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 (170): * Single equations (assignments): 166 * 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: 2 * 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: 2 {1 8,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001029/10.41, allocations: 143.4 kB / 4.532 GB, free: 178.5 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0121/10.42, allocations: 2.509 MB / 4.535 GB, free: 178.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/10.42, allocations: 226.6 kB / 4.535 GB, free: 178.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/10.43, allocations: 2.912 MB / 4.538 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.139e-05/10.43, allocations: 18.84 kB / 4.538 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/10.43, allocations: 6.672 kB / 4.538 GB, free: 178.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01073/10.44, allocations: 2.702 MB / 4.54 GB, free: 177.6 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01797/10.46, allocations: 5.63 MB / 4.546 GB, free: 176.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.638e-05/10.46, allocations: 3.844 kB / 4.546 GB, free: 176.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/10.46, allocations: 353.3 kB / 4.546 GB, free: 176.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/10.47, allocations: 0.5702 MB / 4.547 GB, free: 176.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000393/10.47, allocations: 33.69 kB / 4.547 GB, free: 176.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01456/10.48, allocations: 5.483 MB / 4.552 GB, free: 173.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.158e-05/10.48, allocations: 5.781 kB / 4.552 GB, free: 173.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01464/10.5, allocations: 4.189 MB / 4.556 GB, free: 172.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002171/10.5, allocations: 0.6855 MB / 4.557 GB, free: 172.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001029/10.5, allocations: 7.781 kB / 4.557 GB, free: 172.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003064/10.5, allocations: 218 kB / 4.557 GB, free: 172.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004337/10.5, allocations: 138.6 kB / 4.557 GB, free: 172.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003238/10.5, allocations: 84.91 kB / 4.557 GB, free: 172.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002682/10.51, allocations: 1.08 MB / 4.558 GB, free: 172.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.71e-07/10.51, allocations: 0 / 4.558 GB, free: 172.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006691/10.51, allocations: 1.534 MB / 4.56 GB, free: 172.1 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 (165): * Single equations (assignments): 155 * 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: 2 * 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: 2 {2 7,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.02083/10.53, allocations: 8.273 MB / 4.568 GB, free: 169.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.008455/10.54, allocations: 3.317 MB / 4.571 GB, free: 168.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/10.54, allocations: 3.906 kB / 4.571 GB, free: 168.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004386/10.55, allocations: 1.404 MB / 4.573 GB, free: 168.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006187/10.55, allocations: 0.9507 MB / 4.573 GB, free: 168.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/10.57, allocations: 4.411 MB / 4.578 GB, free: 167.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002136/10.57, allocations: 1.732 MB / 4.579 GB, free: 166.6 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005149/10.57, allocations: 0.9364 MB / 4.58 GB, free: 166.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001584/10.58, allocations: 0.9817 MB / 4.581 GB, free: 166.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.353e-06/10.58, allocations: 0 / 4.581 GB, free: 166.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1542/10.73, allocations: 88.78 MB / 4.668 GB, free: 125.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/10.73, allocations: 190.5 kB / 4.668 GB, free: 124.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.704/16.43, allocations: 0 / 4.668 GB, free: 124.9 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled_fmu --startTime=1.70208e+07 --stopTime=1.7064e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled.fmu > Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled_res.mat does not exist to compare? outputFormat=mat