Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.001766/0.001766, allocations: 107.2 kB / 16.4 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7123/0.7123, allocations: 115.3 MB / 406.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 68.17 kB / 0.5572 GB, free: 32.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1709, allocations: 76.18 MB / 0.6316 GB, free: 5.016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.5362/0.7071, allocations: 132.2 MB / 0.7607 GB, free: 28.97 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02964/0.7367, allocations: 23.22 MB / 0.7834 GB, free: 28.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006123/0.7429, allocations: 125.3 kB / 0.7835 GB, free: 28.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004983/0.748, allocations: 1.494 MB / 0.7849 GB, free: 28.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01326/0.7613, allocations: 4.107 MB / 0.789 GB, free: 28.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006861/0.7681, allocations: 2.167 MB / 0.7911 GB, free: 27.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01016/0.7783, allocations: 6.542 MB / 0.7975 GB, free: 24.81 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004343/0.7827, allocations: 2.361 MB / 0.7998 GB, free: 23.69 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006975/0.7897, allocations: 2.807 MB / 0.8025 GB, free: 22.36 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003963/0.7937, allocations: 1.892 MB / 0.8043 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009441/0.7946, allocations: 246.8 kB / 0.8046 GB, free: 21.34 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006299/0.8009, allocations: 1.94 MB / 0.8065 GB, free: 20.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.8021, allocations: 0.5953 MB / 0.8071 GB, free: 19.95 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003611/0.8058, allocations: 1.461 MB / 0.8085 GB, free: 18.97 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.8171, allocations: 4.361 MB / 0.8127 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.8172, allocations: 4 kB / 0.8127 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8172, allocations: 0 / 0.8127 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001414/0.8173, allocations: 0 / 0.8127 GB, free: 16.25 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.007689/0.825, allocations: 3.181 MB / 0.8159 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.8251, allocations: 10.66 kB / 0.8159 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003174/0.8254, allocations: 218.8 kB / 0.8161 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004609/0.83, allocations: 0.8438 MB / 0.8169 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005141/0.8352, allocations: 2.32 MB / 0.8192 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.8354, allocations: 125.2 kB / 0.8193 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003776/0.8357, allocations: 165.4 kB / 0.8194 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003702/0.8394, allocations: 1.925 MB / 0.8213 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.8395, allocations: 0 / 0.8213 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/0.8396, allocations: 64 kB / 0.8214 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.09e-05/0.8397, allocations: 39.94 kB / 0.8214 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004031/0.8437, allocations: 1.803 MB / 0.8232 GB, free: 7.75 MB / 0.5762 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.01295/0.8567, allocations: 9.001 MB / 0.832 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004241/0.8609, allocations: 1.188 MB / 0.8331 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.862, allocations: 469.4 kB / 0.8336 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001288/0.8633, allocations: 1.723 MB / 0.8353 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.8634, allocations: 46.5 kB / 0.8353 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/0.8634, allocations: 0 / 0.8353 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.008752/0.8722, allocations: 2.333 MB / 0.8376 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.8722, allocations: 88.86 kB / 0.8377 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004612/0.8768, allocations: 2.524 MB / 0.8401 GB, free: 5.375 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001477/0.877, allocations: 45.7 kB / 0.8402 GB, free: 5.324 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009359/0.878, allocations: 1.04 MB / 0.8412 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000351/0.8783, allocations: 274.4 kB / 0.8415 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005209/0.8788, allocations: 254.6 kB / 0.8417 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.879, allocations: 349.9 kB / 0.842 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/0.8807, allocations: 0.5647 MB / 0.8426 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002139/0.8829, allocations: 0.9577 MB / 0.8435 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003077/0.886, allocations: 1.248 MB / 0.8447 GB, free: 396 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.777e-06/0.886, allocations: 0 / 0.8447 GB, free: 396 kB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00679/0.8928, allocations: 2.036 MB / 0.8467 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.8928, allocations: 8 kB / 0.8467 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.998e-05/0.8928, allocations: 8 kB / 0.8467 GB, free: 14.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002082/0.8949, allocations: 499.2 kB / 0.8472 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.8963, allocations: 279.6 kB / 0.8475 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.8987, allocations: 1.511 MB / 0.849 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003351/0.902, allocations: 373.9 kB / 0.8493 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/0.9023, allocations: 55.97 kB / 0.8494 GB, free: 11.57 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0009977/0.9033, allocations: 461.8 kB / 0.8498 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00081/0.9041, allocations: 249 kB / 0.85 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/0.9081, allocations: 1.506 MB / 0.8515 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.38e-05/0.9081, allocations: 12 kB / 0.8515 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.9081, allocations: 0 / 0.8515 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.9081, allocations: 3.984 kB / 0.8515 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008443/0.9166, allocations: 3.616 MB / 0.8551 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.9166, allocations: 3.984 kB / 0.8551 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/0.9172, allocations: 132.2 kB / 0.8552 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001699/0.9189, allocations: 493 kB / 0.8557 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-05/0.919, allocations: 23.98 kB / 0.8557 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00274/0.9218, allocations: 1.591 MB / 0.8572 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.902e-06/0.9218, allocations: 4.062 kB / 0.8572 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006912/0.9287, allocations: 1.941 MB / 0.8591 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/0.9303, allocations: 489.5 kB / 0.8596 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008811/0.9312, allocations: 27.92 kB / 0.8596 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/0.9334, allocations: 135.8 kB / 0.8598 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.9335, allocations: 51.92 kB / 0.8598 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.9337, allocations: 43.97 kB / 0.8599 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003653/0.9373, allocations: 1.769 MB / 0.8616 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9373, allocations: 0 / 0.8616 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002696/0.9401, allocations: 0.6982 MB / 0.8623 GB, free: 14.12 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007702/0.9478, allocations: 2.991 MB / 0.8652 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004162/0.9519, allocations: 1.359 MB / 0.8665 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/0.952, allocations: 12 kB / 0.8665 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00237/0.9544, allocations: 0.6754 MB / 0.8672 GB, free: 9.098 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006567/0.9609, allocations: 1.323 MB / 0.8685 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03926/1, allocations: 16.65 MB / 0.8847 GB, free: 6.723 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/1.002, allocations: 1.486 MB / 0.8862 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001983/1.004, allocations: 443.5 kB / 0.8866 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/1.005, allocations: 0.9015 MB / 0.8875 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of SimCode: time 6.212e-06/1.005, allocations: 0 / 0.8875 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1189/1.124, allocations: 67.53 MB / 0.9534 GB, free: 1.07 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/16.97, allocations: 14.58 kB / 0.9535 GB, free: 1.059 MB / 0.7012 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)