Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.004961/0.004961, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001358/0.001358, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.9554/0.9554, allocations: 143.3 MB / 433.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 64.58 kB / 0.5953 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1516, allocations: 82.05 MB / 0.6754 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07445/0.2261, allocations: 70.45 MB / 0.7442 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3353/0.5614, allocations: 18.93 MB / 0.7627 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002371/0.5638, allocations: 69.72 kB / 0.7628 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.5661, allocations: 0.8243 MB / 0.7636 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007681/0.5738, allocations: 2.855 MB / 0.7664 GB, free: 18.76 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004318/0.5781, allocations: 1.649 MB / 0.768 GB, free: 18.72 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006463/0.5846, allocations: 4.05 MB / 0.7719 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/0.5871, allocations: 1.457 MB / 0.7733 GB, free: 18.37 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00443/0.5915, allocations: 1.776 MB / 0.7751 GB, free: 17.88 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002258/0.5938, allocations: 1.179 MB / 0.7762 GB, free: 17.4 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003256/0.5941, allocations: 175.1 kB / 0.7764 GB, free: 17.4 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003413/0.5975, allocations: 1.416 MB / 0.7778 GB, free: 16.96 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003154/0.5979, allocations: 388.7 kB / 0.7781 GB, free: 16.7 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/0.5991, allocations: 0.9202 MB / 0.779 GB, free: 16.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005124/0.6043, allocations: 3.28 MB / 0.7822 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6043, allocations: 2.359 kB / 0.7822 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.313e-06/0.6043, allocations: 0 / 0.7822 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.456e-05/0.6044, allocations: 0 / 0.7822 GB, free: 15.07 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003921/0.6083, allocations: 2.087 MB / 0.7843 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.6083, allocations: 9.5 kB / 0.7843 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001867/0.6085, allocations: 154.4 kB / 0.7844 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002403/0.611, allocations: 454.3 kB / 0.7849 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002504/0.6135, allocations: 1.577 MB / 0.7864 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.384e-05/0.6135, allocations: 78.03 kB / 0.7865 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.6137, allocations: 106.1 kB / 0.7866 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/0.6161, allocations: 1.312 MB / 0.7879 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.6161, allocations: 1.156 kB / 0.7879 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.756e-05/0.6162, allocations: 54.94 kB / 0.7879 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/0.6163, allocations: 25.31 kB / 0.788 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/0.6189, allocations: 1.103 MB / 0.789 GB, free: 11.3 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.00698/0.6259, allocations: 7.519 MB / 0.7964 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003079/0.629, allocations: 0.8007 MB / 0.7972 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005597/0.6295, allocations: 282.5 kB / 0.7974 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008079/0.6304, allocations: 1.722 MB / 0.7991 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.795e-05/0.6304, allocations: 37.53 kB / 0.7991 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/0.6304, allocations: 3.938 kB / 0.7991 GB, free: 2.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.004722/0.6351, allocations: 1.351 MB / 0.8005 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.6352, allocations: 54.69 kB / 0.8005 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001948/0.6371, allocations: 1.546 MB / 0.802 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.866e-05/0.6372, allocations: 43 kB / 0.8021 GB, free: 476 kB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004885/0.6377, allocations: 0.6824 MB / 0.8027 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.6379, allocations: 178.8 kB / 0.8029 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002998/0.6382, allocations: 172.1 kB / 0.8031 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.6383, allocations: 330.4 kB / 0.8034 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.6394, allocations: 372.7 kB / 0.8037 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.6407, allocations: 0.6593 MB / 0.8044 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.6427, allocations: 0.8817 MB / 0.8052 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.6427, allocations: 6.062 kB / 0.8052 GB, free: 13.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003049/0.6457, allocations: 1.205 MB / 0.8064 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.6458, allocations: 9.281 kB / 0.8064 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.6458, allocations: 14.86 kB / 0.8064 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009221/0.6467, allocations: 225 kB / 0.8067 GB, free: 13.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007643/0.6475, allocations: 184.8 kB / 0.8068 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009347/0.6484, allocations: 0.7189 MB / 0.8075 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.65, allocations: 220.9 kB / 0.8078 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.366e-05/0.6501, allocations: 39.86 kB / 0.8078 GB, free: 12.32 MB / 0.5919 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006067/0.6508, allocations: 361.4 kB / 0.8081 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.651, allocations: 162.1 kB / 0.8083 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/0.6535, allocations: 1.137 MB / 0.8094 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.216e-05/0.6535, allocations: 9.234 kB / 0.8094 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.6535, allocations: 1.938 kB / 0.8094 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.6536, allocations: 3.984 kB / 0.8094 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005899/0.6595, allocations: 2.524 MB / 0.8119 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.6595, allocations: 2.188 kB / 0.8119 GB, free: 9.555 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000375/0.6599, allocations: 88.28 kB / 0.812 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007857/0.6607, allocations: 220.5 kB / 0.8122 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.6607, allocations: 13.44 kB / 0.8122 GB, free: 9.402 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.6621, allocations: 0.7711 MB / 0.8129 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.6622, allocations: 3.938 kB / 0.8129 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003658/0.6658, allocations: 1.206 MB / 0.8141 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006574/0.6665, allocations: 358.9 kB / 0.8145 GB, free: 7.711 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.6667, allocations: 25.53 kB / 0.8145 GB, free: 7.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009226/0.6676, allocations: 72.5 kB / 0.8146 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.422e-05/0.6677, allocations: 45.44 kB / 0.8146 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/0.6678, allocations: 28.42 kB / 0.8146 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001747/0.6695, allocations: 1.08 MB / 0.8157 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6696, allocations: 0 / 0.8157 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001383/0.6709, allocations: 448.9 kB / 0.8161 GB, free: 6.758 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00508/0.676, allocations: 2.148 MB / 0.8182 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002401/0.6785, allocations: 0.8409 MB / 0.819 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.798e-06/0.6785, allocations: 320 / 0.819 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.6799, allocations: 448.3 kB / 0.8195 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003324/0.6833, allocations: 0.7462 MB / 0.8202 GB, free: 2.613 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0191/0.7024, allocations: 10.5 MB / 0.8304 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009026/0.7033, allocations: 1.168 MB / 0.8316 GB, free: 6.566 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001133/0.7045, allocations: 271.8 kB / 0.8318 GB, free: 6.309 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008154/0.7053, allocations: 0.5461 MB / 0.8324 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of SimCode: time 7.52e-07/0.7053, allocations: 0 / 0.8324 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.091/0.7963, allocations: 44.11 MB / 0.8755 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.11, allocations: 3.625 kB / 0.8755 GB, free: 10.3 MB / 0.6544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)