Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.5/1.5, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001178/0.001179, allocations: 190.6 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.187/2.187, allocations: 205.4 MB / 0.5775 GB, free: 20.31 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 93.98 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003578, allocations: 13.88 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2531, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.162/6.415, allocations: 2.492 GB / 3.392 GB, free: 62.47 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/6.415, allocations: 98.02 kB / 3.392 GB, free: 62.38 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.208/10.62, allocations: 1.019 GB / 4.412 GB, free: 43.92 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.408e-06/10.62, allocations: 0 / 4.412 GB, free: 43.92 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000569/10.62, allocations: 75.92 kB / 4.412 GB, free: 43.85 MB / 0.8855 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.0139/10.64, allocations: 3.212 MB / 4.415 GB, free: 40.55 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.675e-05/10.64, allocations: 12.03 kB / 4.415 GB, free: 40.54 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00167/10.64, allocations: 274.2 kB / 4.415 GB, free: 40.27 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008075/10.65, allocations: 1.015 MB / 4.416 GB, free: 39.25 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008216/10.66, allocations: 2.106 MB / 4.418 GB, free: 37.07 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000394/10.66, allocations: 219.1 kB / 4.418 GB, free: 36.84 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/10.66, allocations: 196 kB / 4.418 GB, free: 36.65 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008127/10.67, allocations: 2.405 MB / 4.421 GB, free: 34.19 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.67e-05/10.67, allocations: 7.938 kB / 4.421 GB, free: 34.18 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006992/10.67, allocations: 87.97 kB / 4.421 GB, free: 34.1 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-05/10.67, allocations: 75.69 kB / 4.421 GB, free: 34.02 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00711/10.67, allocations: 2.723 MB / 4.424 GB, free: 31.3 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01847/10.69, allocations: 8.752 MB / 4.432 GB, free: 22.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007559/10.7, allocations: 2.357 MB / 4.435 GB, free: 19.74 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009153/10.7, allocations: 0.887 MB / 4.435 GB, free: 18.67 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00294/10.7, allocations: 1.272 MB / 4.437 GB, free: 17.38 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=159): time 9.267e-06/10.7, allocations: 0 / 4.437 GB, free: 17.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=159): time 0.01055/10.71, allocations: 3.216 MB / 4.44 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/10.72, allocations: 256.6 kB / 4.44 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005471/10.72, allocations: 1.671 MB / 4.442 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000421/10.72, allocations: 61.7 kB / 4.442 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001383/10.72, allocations: 1.034 MB / 4.443 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007433/10.72, allocations: 0.5275 MB / 4.443 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/10.72, allocations: 32 kB / 4.443 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001695/10.72, allocations: 357.9 kB / 4.444 GB, free: 10.09 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002205/10.73, allocations: 0.8549 MB / 4.444 GB, free: 9.238 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002487/10.73, allocations: 1.216 MB / 4.446 GB, free: 7.898 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002432/10.73, allocations: 0.9632 MB / 4.447 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/10.73, allocations: 0 / 4.447 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.00668/10.74, allocations: 2.352 MB / 4.449 GB, free: 4.562 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003275/10.74, allocations: 1.054 MB / 4.45 GB, free: 3.402 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/10.74, allocations: 4 kB / 4.45 GB, free: 3.398 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006647/10.74, allocations: 84.78 kB / 4.45 GB, free: 3.312 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002218/10.74, allocations: 455.3 kB / 4.45 GB, free: 2.867 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/10.74, allocations: 2.149 MB / 4.452 GB, free: 0.5508 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003573/10.75, allocations: 342.4 kB / 4.453 GB, free: 220 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003099/10.75, allocations: 71.95 kB / 4.453 GB, free: 148 kB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/10.75, allocations: 4 kB / 4.453 GB, free: 144 kB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006297/10.75, allocations: 2.134 MB / 4.455 GB, free: 14 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/10.75, allocations: 4 kB / 4.455 GB, free: 13.99 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006267/10.75, allocations: 92.95 kB / 4.455 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002233/10.76, allocations: 435.4 kB / 4.455 GB, free: 13.47 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002267/10.76, allocations: 1.54 MB / 4.457 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003827/10.76, allocations: 334.4 kB / 4.457 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003839/10.76, allocations: 71.95 kB / 4.457 GB, free: 11.39 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 175 * 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.002484/10.77, allocations: 0.6087 MB / 4.458 GB, free: 10.78 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001224/10.77, allocations: 233.2 kB / 4.458 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008289/10.77, allocations: 2.661 MB / 4.461 GB, free: 7.871 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.932e-05/10.78, allocations: 16 kB / 4.461 GB, free: 7.855 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/10.78, allocations: 0 / 4.461 GB, free: 7.855 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005958/10.78, allocations: 2.402 MB / 4.463 GB, free: 5.367 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8965/11.68, allocations: 5.384 MB / 4.468 GB, free: 137.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-05/11.68, allocations: 4.844 kB / 4.468 GB, free: 137.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003086/11.68, allocations: 447.9 kB / 4.469 GB, free: 137.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005984/11.68, allocations: 92.42 kB / 4.469 GB, free: 137.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002617/11.68, allocations: 55.22 kB / 4.469 GB, free: 137.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002143/11.68, allocations: 2.173 MB / 4.471 GB, free: 135.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/11.68, allocations: 2.906 kB / 4.471 GB, free: 135.9 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009761/11.69, allocations: 4.154 MB / 4.475 GB, free: 135.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002537/11.7, allocations: 0.7 MB / 4.476 GB, free: 135.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004045/11.7, allocations: 39.78 kB / 4.476 GB, free: 135.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00256/11.7, allocations: 264.9 kB / 4.476 GB, free: 135.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004456/11.7, allocations: 139 kB / 4.476 GB, free: 135.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002404/11.7, allocations: 84.31 kB / 4.476 GB, free: 135.1 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003515/11.7, allocations: 1.316 MB / 4.478 GB, free: 134.9 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.8e-07/11.7, allocations: 0 / 4.478 GB, free: 134.9 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.007675/11.71, allocations: 1.507 MB / 4.479 GB, free: 134.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (chi.vol1.dynBal.U,chi.vol1.dynBal.m,chi.vol1.dynBal.mXi[1],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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 164 * 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.01881/11.73, allocations: 7.971 MB / 4.487 GB, free: 132.2 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.01337/11.74, allocations: 3.534 MB / 4.49 GB, free: 131.8 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-05/11.74, allocations: 2.656 kB / 4.49 GB, free: 131.8 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003783/11.75, allocations: 1.292 MB / 4.492 GB, free: 131.7 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008247/11.76, allocations: 1.091 MB / 4.493 GB, free: 131.7 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04436/11.8, allocations: 17.42 MB / 4.51 GB, free: 124.4 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002639/11.8, allocations: 1.724 MB / 4.511 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.006138/11.81, allocations: 0.7843 MB / 4.512 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00289/11.81, allocations: 1.027 MB / 4.513 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of SimCode: time 1.933e-06/11.81, allocations: 0 / 4.513 GB, free: 123.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1987/12.01, allocations: 93.73 MB / 4.605 GB, free: 120.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002975/12.01, allocations: 266.3 kB / 4.605 GB, free: 119.7 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.563/18.57, allocations: 0 / 4.605 GB, free: 119.7 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled_fmu --startTime=1.70208e+07 --stopTime=1.7064e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Examples_ElectricEIR_AirCooled.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.ElectricEIR_AirCooled.pipe 2>&1)