Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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.CarnotVerifyEtaCarnot,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildSysPro_BuildSysPro_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.004719/0.004719, allocations: 102 kB / 15.73 MB, free: 5.555 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.001269/0.001269, allocations: 191.4 kB / 16.67 MB, free: 5.484 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.383 MB / 190.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 1.017/1.017, allocations: 143.3 MB / 433.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 63.91 kB / 0.5953 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3604, allocations: 82.02 MB / 0.6754 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1448/0.5052, allocations: 132.2 MB / 0.8046 GB, free: 1.523 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03455/0.5398, allocations: 23.24 MB / 0.8273 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003642/0.5435, allocations: 127.2 kB / 0.8274 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005548/0.5491, allocations: 1.486 MB / 0.8288 GB, free: 8.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01578/0.5649, allocations: 4.108 MB / 0.8328 GB, free: 4.465 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.007982/0.5729, allocations: 2.176 MB / 0.835 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01312/0.5861, allocations: 6.545 MB / 0.8414 GB, free: 11.75 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003871/0.59, allocations: 2.358 MB / 0.8437 GB, free: 9.332 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00614/0.5961, allocations: 2.751 MB / 0.8463 GB, free: 6.578 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002814/0.5989, allocations: 1.897 MB / 0.8482 GB, free: 4.676 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003877/0.5993, allocations: 248 kB / 0.8484 GB, free: 4.434 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004116/0.6035, allocations: 1.934 MB / 0.8503 GB, free: 2.496 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006176/0.6041, allocations: 0.5992 MB / 0.8509 GB, free: 1.895 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001734/0.6058, allocations: 1.462 MB / 0.8523 GB, free: 436 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006247/0.6121, allocations: 4.614 MB / 0.8568 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.6121, allocations: 0 / 0.8568 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6121, allocations: 0 / 0.8568 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.006e-05/0.6122, allocations: 0 / 0.8568 GB, free: 11.8 MB / 0.6856 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.00558/0.6177, allocations: 3.29 MB / 0.8601 GB, free: 8.418 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.6178, allocations: 12.03 kB / 0.8601 GB, free: 8.406 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002732/0.6181, allocations: 220 kB / 0.8603 GB, free: 8.18 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004476/0.6226, allocations: 0.8533 MB / 0.8611 GB, free: 7.324 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004308/0.6269, allocations: 2.352 MB / 0.8634 GB, free: 4.898 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.627, allocations: 127 kB / 0.8635 GB, free: 4.773 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/0.6273, allocations: 160 kB / 0.8637 GB, free: 4.617 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004132/0.6314, allocations: 1.923 MB / 0.8656 GB, free: 2.629 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.548e-05/0.6314, allocations: 3.938 kB / 0.8656 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.6316, allocations: 60 kB / 0.8656 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.187e-05/0.6317, allocations: 40 kB / 0.8657 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004971/0.6366, allocations: 1.807 MB / 0.8674 GB, free: 0.7188 MB / 0.6856 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.2829/0.9196, allocations: 9.013 MB / 0.8762 GB, free: 175.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004374/0.924, allocations: 1.194 MB / 0.8774 GB, free: 175.2 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/0.9251, allocations: 459.9 kB / 0.8778 GB, free: 175 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007419/0.9258, allocations: 1.717 MB / 0.8795 GB, free: 173 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/0.9259, allocations: 48.28 kB / 0.8796 GB, free: 173 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 2.525e-06/0.9259, allocations: 3.938 kB / 0.8796 GB, free: 173 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.00881/0.9347, allocations: 2.351 MB / 0.8819 GB, free: 172.2 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.9347, allocations: 88.86 kB / 0.8819 GB, free: 172.1 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004255/0.939, allocations: 2.524 MB / 0.8844 GB, free: 170.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.499e-05/0.9391, allocations: 45.05 kB / 0.8844 GB, free: 170.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006486/0.9398, allocations: 1.055 MB / 0.8855 GB, free: 170 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001867/0.9399, allocations: 289 kB / 0.8858 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003885/0.9403, allocations: 258.5 kB / 0.886 GB, free: 169.6 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 5.869e-05/0.9404, allocations: 345.3 kB / 0.8863 GB, free: 169.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001672/0.9421, allocations: 0.5739 MB / 0.8869 GB, free: 169 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001882/0.944, allocations: 0.948 MB / 0.8878 GB, free: 168.3 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002766/0.9468, allocations: 1.246 MB / 0.889 GB, free: 167.6 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.9468, allocations: 10.12 kB / 0.889 GB, free: 167.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00607/0.9528, allocations: 2.033 MB / 0.891 GB, free: 166.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.9529, allocations: 11.16 kB / 0.891 GB, free: 166.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.9529, allocations: 11.67 kB / 0.891 GB, free: 166.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/0.9547, allocations: 495.3 kB / 0.8915 GB, free: 166.4 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.9558, allocations: 277.8 kB / 0.8918 GB, free: 166.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001892/0.9577, allocations: 1.517 MB / 0.8933 GB, free: 165 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002489/0.9602, allocations: 370.3 kB / 0.8936 GB, free: 164.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.9604, allocations: 65.59 kB / 0.8937 GB, free: 164.8 MB / 0.6856 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.0006632/0.9611, allocations: 458.3 kB / 0.8941 GB, free: 164.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/0.9614, allocations: 264.7 kB / 0.8944 GB, free: 164.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003377/0.9648, allocations: 1.5 MB / 0.8958 GB, free: 163.5 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.9648, allocations: 9.438 kB / 0.8958 GB, free: 163.5 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9648, allocations: 0 / 0.8958 GB, free: 163.5 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.9649, allocations: 5.891 kB / 0.8958 GB, free: 163.5 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006421/0.9713, allocations: 3.628 MB / 0.8994 GB, free: 161 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.9713, allocations: 8.375 kB / 0.8994 GB, free: 161 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005783/0.9719, allocations: 138.8 kB / 0.8995 GB, free: 161 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.9734, allocations: 488.4 kB / 0.9 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-05/0.9734, allocations: 27.88 kB / 0.9 GB, free: 160.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.9757, allocations: 1.583 MB / 0.9016 GB, free: 159.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.9757, allocations: 3.969 kB / 0.9016 GB, free: 159.4 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005392/0.9811, allocations: 1.96 MB / 0.9035 GB, free: 158.2 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006486/0.9817, allocations: 0.4924 MB / 0.904 GB, free: 157.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/0.982, allocations: 19.78 kB / 0.904 GB, free: 157.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/0.9836, allocations: 138.7 kB / 0.9041 GB, free: 157.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.33e-05/0.9837, allocations: 51.56 kB / 0.9042 GB, free: 157.7 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-05/0.9838, allocations: 51.23 kB / 0.9042 GB, free: 157.7 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002288/0.9861, allocations: 1.773 MB / 0.9059 GB, free: 156.7 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9861, allocations: 0 / 0.9059 GB, free: 156.7 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001573/0.9877, allocations: 0.6981 MB / 0.9066 GB, free: 156.7 MB / 0.6856 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.006447/0.9941, allocations: 3.031 MB / 0.9096 GB, free: 154.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003695/0.9978, allocations: 1.358 MB / 0.9109 GB, free: 153.3 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.9979, allocations: 0 / 0.9109 GB, free: 153.3 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002205/1, allocations: 0.6824 MB / 0.9116 GB, free: 152.6 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005289/1.005, allocations: 1.338 MB / 0.9129 GB, free: 151.3 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02712/1.033, allocations: 16.74 MB / 0.9292 GB, free: 134.1 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006518/1.033, allocations: 1.49 MB / 0.9307 GB, free: 132.6 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001453/1.035, allocations: 429 kB / 0.9311 GB, free: 132.2 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000908/1.036, allocations: 0.9131 MB / 0.932 GB, free: 131.3 MB / 0.6856 GB Notification: Performance of SimCode: time 6.61e-07/1.036, allocations: 0 / 0.932 GB, free: 131.3 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08853/1.124, allocations: 66.75 MB / 0.9972 GB, free: 65.57 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.7/17.82, allocations: 4.438 kB / 0.9972 GB, free: 65.56 MB / 0.6856 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 BuildSysPro_BuildSysPro_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)