Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008924/0.0008968, allocations: 96.27 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009304/0.0009305, allocations: 177.1 kB / 16.57 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.185/1.185, allocations: 223.2 MB / 240.5 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.587/0.587, allocations: 113.7 MB / 405.3 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00025/0.00025, allocations: 8 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1128, allocations: 77.11 MB / 0.5567 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.2401/0.3529, allocations: 51.23 MB / 0.6067 GB, free: 8.602 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.3642, allocations: 10.31 MB / 0.6168 GB, free: 1.293 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.3655, allocations: 54.53 kB / 0.6169 GB, free: 1.266 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.367, allocations: 0.621 MB / 0.6175 GB, free: 0.918 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004282/0.3713, allocations: 1.948 MB / 0.6194 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003562/0.3748, allocations: 1.318 MB / 0.6207 GB, free: 15.01 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002457/0.3773, allocations: 1.851 MB / 0.6225 GB, free: 14 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001013/0.3783, allocations: 0.8001 MB / 0.6232 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.3798, allocations: 0.9776 MB / 0.6242 GB, free: 13.18 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007041/0.3805, allocations: 0.6086 MB / 0.6248 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.416e-05/0.3806, allocations: 41.97 kB / 0.6248 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001913/0.3825, allocations: 0.9941 MB / 0.6258 GB, free: 12.64 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.3827, allocations: 191.1 kB / 0.626 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002343/0.383, allocations: 287.1 kB / 0.6263 GB, free: 12.37 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001484/0.3845, allocations: 1.583 MB / 0.6278 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.3845, allocations: 0 / 0.6278 GB, free: 11.39 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3845, allocations: 0 / 0.6278 GB, free: 11.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.3845, allocations: 0 / 0.6278 GB, free: 11.39 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002176/0.3867, allocations: 1.489 MB / 0.6293 GB, free: 10.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.3867, allocations: 8.25 kB / 0.6293 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001335/0.3869, allocations: 124.8 kB / 0.6294 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001924/0.3888, allocations: 478.8 kB / 0.6298 GB, free: 9.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.3903, allocations: 1.044 MB / 0.6309 GB, free: 9.078 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003312/0.3907, allocations: 127.4 kB / 0.631 GB, free: 9.031 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/0.3908, allocations: 83.75 kB / 0.6311 GB, free: 9.004 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001712/0.3925, allocations: 0.9901 MB / 0.632 GB, free: 8.375 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3925, allocations: 0.9688 kB / 0.632 GB, free: 8.375 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.342e-05/0.3926, allocations: 35.61 kB / 0.6321 GB, free: 8.348 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.3926, allocations: 19.38 kB / 0.6321 GB, free: 8.348 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.3947, allocations: 0.9106 MB / 0.633 GB, free: 7.918 MB / 462.1 MB 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.005262/0.3999, allocations: 4.911 MB / 0.6378 GB, free: 3.562 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003102/0.4031, allocations: 0.9062 MB / 0.6387 GB, free: 3.148 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005433/0.4036, allocations: 0.8958 MB / 0.6395 GB, free: 2.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.4036, allocations: 41.38 kB / 0.6396 GB, free: 2.043 MB / 462.1 MB Notification: Performance of pre-optimization done (n=43): time 1.403e-06/0.4037, allocations: 0 / 0.6396 GB, free: 2.043 MB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.0063/0.41, allocations: 1.948 MB / 0.6415 GB, free: 1.117 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.41, allocations: 58.59 kB / 0.6415 GB, free: 1.051 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.4112, allocations: 1.064 MB / 0.6426 GB, free: 468 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.4112, allocations: 36.98 kB / 0.6426 GB, free: 428 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003615/0.4116, allocations: 0.5304 MB / 0.6431 GB, free: 15.95 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.933e-05/0.4117, allocations: 148 kB / 0.6433 GB, free: 15.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.4117, allocations: 14.72 kB / 0.6433 GB, free: 15.81 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.4119, allocations: 330.7 kB / 0.6436 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007707/0.4126, allocations: 314.1 kB / 0.6439 GB, free: 15.34 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009288/0.4136, allocations: 0.5266 MB / 0.6444 GB, free: 14.94 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008158/0.4144, allocations: 348.7 kB / 0.6447 GB, free: 14.79 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.4144, allocations: 2.844 kB / 0.6447 GB, free: 14.79 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003193/0.4176, allocations: 1.222 MB / 0.6459 GB, free: 13.89 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005679/0.4182, allocations: 1.663 MB / 0.6476 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.607e-06/0.4182, allocations: 4 kB / 0.6476 GB, free: 12.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.4193, allocations: 333.5 kB / 0.6479 GB, free: 11.78 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004844/0.4198, allocations: 123.8 kB / 0.648 GB, free: 11.66 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0013/0.4211, allocations: 0.9471 MB / 0.6489 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.4223, allocations: 187.3 kB / 0.6491 GB, free: 10.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.4224, allocations: 31.98 kB / 0.6491 GB, free: 10.47 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.913e-06/0.4224, allocations: 4 kB / 0.6491 GB, free: 10.46 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002919/0.4253, allocations: 1.078 MB / 0.6502 GB, free: 9.383 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4254, allocations: 4 kB / 0.6502 GB, free: 9.379 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009664/0.4263, allocations: 317.6 kB / 0.6505 GB, free: 9.066 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.4268, allocations: 135.8 kB / 0.6506 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001232/0.4281, allocations: 0.9396 MB / 0.6515 GB, free: 7.969 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009068/0.429, allocations: 167.3 kB / 0.6517 GB, free: 7.805 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.202e-05/0.429, allocations: 35.98 kB / 0.6517 GB, free: 7.77 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004/0.4294, allocations: 345 kB / 0.6521 GB, free: 7.422 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.4296, allocations: 106.7 kB / 0.6522 GB, free: 7.316 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.4317, allocations: 0.9919 MB / 0.6531 GB, free: 6.316 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/0.4317, allocations: 7.984 kB / 0.6531 GB, free: 6.309 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4317, allocations: 4 kB / 0.6532 GB, free: 6.305 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.4317, allocations: 3.984 kB / 0.6532 GB, free: 6.301 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004581/0.4363, allocations: 2.268 MB / 0.6554 GB, free: 3.945 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.4364, allocations: 0 / 0.6554 GB, free: 3.945 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.4366, allocations: 68.17 kB / 0.6554 GB, free: 3.879 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008887/0.4375, allocations: 324.5 kB / 0.6557 GB, free: 3.559 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.706e-05/0.4376, allocations: 23.94 kB / 0.6558 GB, free: 3.535 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001297/0.4389, allocations: 0.9662 MB / 0.6567 GB, free: 2.547 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4389, allocations: 0 / 0.6567 GB, free: 2.547 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00323/0.4421, allocations: 1.364 MB / 0.658 GB, free: 1.09 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003417/0.4425, allocations: 295.4 kB / 0.6583 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.4426, allocations: 12 kB / 0.6583 GB, free: 0.7695 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008011/0.4434, allocations: 107.9 kB / 0.6584 GB, free: 0.6641 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.587e-05/0.4435, allocations: 39.89 kB / 0.6585 GB, free: 0.625 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.291e-05/0.4435, allocations: 23.98 kB / 0.6585 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0009218/0.4445, allocations: 0.7508 MB / 0.6592 GB, free: 15.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4445, allocations: 0 / 0.6592 GB, free: 15.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001241/0.4457, allocations: 0.5652 MB / 0.6598 GB, free: 15.28 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004039/0.4498, allocations: 2.798 MB / 0.6625 GB, free: 12.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002647/0.4524, allocations: 1.155 MB / 0.6636 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4524, allocations: 0 / 0.6636 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000779/0.4532, allocations: 366.5 kB / 0.664 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.4551, allocations: 499.8 kB / 0.6645 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005939/0.4611, allocations: 6.08 MB / 0.6704 GB, free: 4.152 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/0.4616, allocations: 1.089 MB / 0.6715 GB, free: 3.035 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000708/0.4624, allocations: 217.8 kB / 0.6717 GB, free: 2.82 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000455/0.4628, allocations: 411.3 kB / 0.6721 GB, free: 2.418 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4628, allocations: 0 / 0.6721 GB, free: 2.418 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.374/1.837, allocations: 32.85 MB / 0.7041 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.01441/1.851, allocations: 240.3 kB / 0.7044 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.512/4.363, allocations: 0 / 0.7044 GB, free: 1.781 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) Environment - environmentSimulation: