Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008632/0.0008632, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008482/0.0008482, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.909/0.909, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.731/1.731, allocations: 377.8 MB / 0.6221 GB, free: 8.668 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.765e-06/2.765e-06, allocations: 0 / 0.981 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.125e-05, allocations: 5.375 kB / 0.981 GB, free: 1.445 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.6054/0.6054, allocations: 120.8 MB / 1.099 GB, free: 11.41 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.03097/0.6364, allocations: 21.65 MB / 1.12 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007857/0.6442, allocations: 173.8 kB / 1.12 GB, free: 12.41 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.004658/0.6489, allocations: 1.498 MB / 1.122 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.01219/0.6611, allocations: 4.474 MB / 1.126 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.00631/0.6674, allocations: 2.303 MB / 1.128 GB, free: 6.57 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.01289/0.6803, allocations: 6.7 MB / 1.135 GB, free: 2.469 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003735/0.684, allocations: 1.824 MB / 1.137 GB, free: 1.098 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01086/0.6948, allocations: 4.073 MB / 1.141 GB, free: 14.41 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004455/0.6993, allocations: 1.612 MB / 1.142 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0005211/0.6998, allocations: 245.3 kB / 1.142 GB, free: 13.54 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004216/0.704, allocations: 1.608 MB / 1.144 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0005201/0.7046, allocations: 0.6323 MB / 1.145 GB, free: 12.24 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0018/0.7064, allocations: 0.9719 MB / 1.146 GB, free: 11.75 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.007384/0.7137, allocations: 4.427 MB / 1.15 GB, free: 8.844 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.7138, allocations: 3.938 kB / 1.15 GB, free: 8.84 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.384e-06/0.7138, allocations: 4 kB / 1.15 GB, free: 8.836 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 7.599e-05/0.7138, allocations: 0 / 1.15 GB, free: 8.836 MB / 0.9792 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.005316/0.7191, allocations: 3.191 MB / 1.153 GB, free: 6.457 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.7192, allocations: 8.844 kB / 1.153 GB, free: 6.457 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002113/0.7194, allocations: 217.7 kB / 1.153 GB, free: 6.281 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002472/0.7219, allocations: 0.8585 MB / 1.154 GB, free: 5.879 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003684/0.7256, allocations: 2.3 MB / 1.156 GB, free: 3.57 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.283e-05/0.7257, allocations: 127 kB / 1.156 GB, free: 3.445 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.7258, allocations: 160 kB / 1.157 GB, free: 3.289 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/0.7286, allocations: 2.005 MB / 1.159 GB, free: 1.203 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.235e-05/0.7286, allocations: 4 kB / 1.159 GB, free: 1.199 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.882e-05/0.7287, allocations: 60 kB / 1.159 GB, free: 1.141 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.7287, allocations: 40 kB / 1.159 GB, free: 1.102 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002802/0.7315, allocations: 1.799 MB / 1.16 GB, free: 15.3 MB / 0.9948 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.008207/0.7398, allocations: 6.498 MB / 1.167 GB, free: 8.645 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002404/0.7422, allocations: 1.135 MB / 1.168 GB, free: 7.492 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006043/0.7428, allocations: 429.4 kB / 1.168 GB, free: 7.066 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002992/0.7431, allocations: 151.9 kB / 1.168 GB, free: 6.918 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.7431, allocations: 46.5 kB / 1.168 GB, free: 6.863 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=76): time 4.408e-06/0.7431, allocations: 0 / 1.168 GB, free: 6.863 MB / 0.9948 GB Notification: Performance of matching and sorting (n=76): time 0.005085/0.7482, allocations: 2.205 MB / 1.171 GB, free: 4.645 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.087e-05/0.7482, allocations: 85.11 kB / 1.171 GB, free: 4.543 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003349/0.7516, allocations: 2.549 MB / 1.173 GB, free: 1.977 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.7517, allocations: 49.7 kB / 1.173 GB, free: 1.922 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009554/0.7527, allocations: 1.062 MB / 1.174 GB, free: 0.8516 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002992/0.753, allocations: 277.6 kB / 1.175 GB, free: 0.5781 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003177/0.7533, allocations: 250.8 kB / 1.175 GB, free: 336 kB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.7534, allocations: 349.9 kB / 1.175 GB, free: 15.98 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009405/0.7544, allocations: 0.5725 MB / 1.176 GB, free: 15.41 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.7558, allocations: 1.607 MB / 1.177 GB, free: 13.49 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.7574, allocations: 1.253 MB / 1.178 GB, free: 12.14 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.7574, allocations: 4 kB / 1.178 GB, free: 12.13 MB / 1.01 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003681/0.7611, allocations: 2.035 MB / 1.18 GB, free: 10.09 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.7611, allocations: 10.03 kB / 1.18 GB, free: 10.08 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.7612, allocations: 15.88 kB / 1.181 GB, free: 10.06 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.7624, allocations: 0.4976 MB / 1.181 GB, free: 9.559 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/0.763, allocations: 279.6 kB / 1.181 GB, free: 9.285 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.7643, allocations: 1.514 MB / 1.183 GB, free: 7.719 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/0.7661, allocations: 350.6 kB / 1.183 GB, free: 7.375 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.516e-05/0.7662, allocations: 63.97 kB / 1.183 GB, free: 7.312 MB / 1.01 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.0008935/0.7671, allocations: 473.3 kB / 1.184 GB, free: 6.84 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003334/0.7674, allocations: 266.3 kB / 1.184 GB, free: 6.578 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/0.7696, allocations: 1.498 MB / 1.185 GB, free: 5.062 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.7696, allocations: 8 kB / 1.185 GB, free: 5.055 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.7696, allocations: 4 kB / 1.185 GB, free: 5.051 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.7696, allocations: 11.91 kB / 1.185 GB, free: 5.039 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004786/0.7744, allocations: 3.305 MB / 1.189 GB, free: 1.633 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.7744, allocations: 4.375 kB / 1.189 GB, free: 1.629 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.7747, allocations: 123.8 kB / 1.189 GB, free: 1.508 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009787/0.7757, allocations: 493.1 kB / 1.189 GB, free: 1.02 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.7757, allocations: 19.98 kB / 1.189 GB, free: 1 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.7771, allocations: 1.594 MB / 1.191 GB, free: 15.36 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.7771, allocations: 4.25 kB / 1.191 GB, free: 15.35 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003262/0.7804, allocations: 1.948 MB / 1.193 GB, free: 13.34 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009624/0.7813, allocations: 431.7 kB / 1.193 GB, free: 12.91 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002483/0.7816, allocations: 16 kB / 1.193 GB, free: 12.9 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008634/0.7825, allocations: 131.8 kB / 1.193 GB, free: 12.77 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/0.7825, allocations: 71.75 kB / 1.193 GB, free: 12.7 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.284e-05/0.7826, allocations: 39.97 kB / 1.193 GB, free: 12.66 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.002435/0.785, allocations: 1.782 MB / 1.195 GB, free: 10.88 MB / 1.026 GB Notification: Performance of sort global known variables: time 1e-07/0.785, allocations: 4 kB / 1.195 GB, free: 10.87 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001747/0.7868, allocations: 0.6941 MB / 1.196 GB, free: 10.18 MB / 1.026 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.00427/0.791, allocations: 3.024 MB / 1.199 GB, free: 7.082 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.002718/0.7938, allocations: 1.308 MB / 1.2 GB, free: 5.777 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.7938, allocations: 0 / 1.2 GB, free: 5.777 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/0.795, allocations: 0.6524 MB / 1.201 GB, free: 5.129 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004162/0.7991, allocations: 1.316 MB / 1.202 GB, free: 3.828 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02242/0.8215, allocations: 16.52 MB / 1.218 GB, free: 2.832 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.8222, allocations: 0.9255 MB / 1.219 GB, free: 1.867 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.001819/0.824, allocations: 439.2 kB / 1.219 GB, free: 1.438 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008676/0.8249, allocations: 0.9142 MB / 1.22 GB, free: 0.5195 MB / 1.042 GB Notification: Performance of SimCode: time 1.523e-06/0.8249, allocations: 0 / 1.22 GB, free: 0.5195 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08825/0.9131, allocations: 70.83 MB / 1.289 GB, free: 11.11 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/10.98, allocations: 6.406 kB / 1.289 GB, free: 11.11 MB / 1.12 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv --start-time 0 --stop-time 3600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 Buildings_12_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.343564632348716] Failed to read output from testmodel.py, exit status != 0: 11.103488110937178 11.110168543 10.394143616 Calling exit ...