Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.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_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y",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.001081/0.001081, allocations: 105.5 kB / 16.27 MB, free: 6.352 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.00113/0.00113, allocations: 193.6 kB / 17.2 MB, free: 5.953 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.287/1.287, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7356/0.7356, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 63.89 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3104/0.3118, allocations: 77.92 MB / 0.5673 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.06103/0.3728, allocations: 75.11 MB / 0.6406 GB, free: 15.51 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01708/0.3899, allocations: 12.77 MB / 0.6531 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002557/0.3925, allocations: 67.62 kB / 0.6532 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002405/0.3949, allocations: 0.8228 MB / 0.654 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006297/0.4013, allocations: 2.46 MB / 0.6564 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003538/0.4049, allocations: 1.389 MB / 0.6577 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005218/0.4101, allocations: 4.385 MB / 0.662 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002321/0.4125, allocations: 1.435 MB / 0.6634 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004314/0.4168, allocations: 1.609 MB / 0.665 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002115/0.4189, allocations: 1.194 MB / 0.6661 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005119/0.4194, allocations: 160 kB / 0.6663 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003181/0.4226, allocations: 1.404 MB / 0.6677 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005576/0.4232, allocations: 398.6 kB / 0.668 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.4247, allocations: 0.9099 MB / 0.6689 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004434/0.4292, allocations: 2.82 MB / 0.6717 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4292, allocations: 0 / 0.6717 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.262e-06/0.4292, allocations: 0 / 0.6717 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.083e-05/0.4293, allocations: 4 kB / 0.6717 GB, free: 15.6 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004245/0.4335, allocations: 2.087 MB / 0.6737 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.4336, allocations: 8.625 kB / 0.6737 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000274/0.4339, allocations: 152.1 kB / 0.6739 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.4349, allocations: 222.9 kB / 0.6741 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/0.4376, allocations: 1.455 MB / 0.6755 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.581e-05/0.4377, allocations: 78 kB / 0.6756 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001757/0.4379, allocations: 104 kB / 0.6757 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.44, allocations: 1.096 MB / 0.6768 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3e-05/0.44, allocations: 0 / 0.6768 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.4402, allocations: 43.97 kB / 0.6768 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.943e-05/0.4402, allocations: 35.98 kB / 0.6768 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001927/0.4421, allocations: 0.8822 MB / 0.6777 GB, free: 9.285 MB / 0.5137 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.00652/0.4487, allocations: 4.952 MB / 0.6825 GB, free: 4.043 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001399/0.4501, allocations: 0.6187 MB / 0.6831 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007577/0.4509, allocations: 362.3 kB / 0.6835 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006501/0.4515, allocations: 0.8238 MB / 0.6843 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.4516, allocations: 43.12 kB / 0.6843 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.355e-06/0.4516, allocations: 0 / 0.6843 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007207/0.4588, allocations: 1.678 MB / 0.686 GB, free: 308 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.4589, allocations: 59.97 kB / 0.686 GB, free: 232 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/0.4612, allocations: 1.222 MB / 0.6872 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.4614, allocations: 37.7 kB / 0.6873 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006095/0.462, allocations: 0.6065 MB / 0.6878 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002968/0.4623, allocations: 212.8 kB / 0.6881 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003298/0.4626, allocations: 158.6 kB / 0.6882 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.4627, allocations: 330 kB / 0.6885 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006759/0.4634, allocations: 296.7 kB / 0.6888 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008277/0.4643, allocations: 491.9 kB / 0.6893 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.4658, allocations: 0.7129 MB / 0.69 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.654e-06/0.4658, allocations: 3.938 kB / 0.69 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00484/0.4706, allocations: 1.269 MB / 0.6912 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.4707, allocations: 4 kB / 0.6912 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.4707, allocations: 4 kB / 0.6912 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000612/0.4713, allocations: 141 kB / 0.6914 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/0.472, allocations: 155.8 kB / 0.6915 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008233/0.4728, allocations: 0.6967 MB / 0.6922 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.474, allocations: 123 kB / 0.6923 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.4741, allocations: 35.98 kB / 0.6923 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001162/0.4753, allocations: 0.5488 MB / 0.6929 GB, free: 9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008474/0.4762, allocations: 496.7 kB / 0.6933 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00136/0.4775, allocations: 0.7011 MB / 0.694 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.237e-06/0.4775, allocations: 0 / 0.694 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004859/0.4824, allocations: 1.273 MB / 0.6953 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4824, allocations: 4 kB / 0.6953 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.4824, allocations: 4 kB / 0.6953 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005166/0.483, allocations: 141 kB / 0.6954 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000605/0.4836, allocations: 163.8 kB / 0.6956 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007646/0.4844, allocations: 0.6889 MB / 0.6962 GB, free: 5.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.4855, allocations: 99.44 kB / 0.6963 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-05/0.4856, allocations: 32 kB / 0.6964 GB, free: 5.254 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002247/0.4858, allocations: 228.1 kB / 0.6966 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000336/0.4861, allocations: 142.3 kB / 0.6967 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004715/0.4909, allocations: 1.256 MB / 0.6979 GB, free: 3.609 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.4909, allocations: 12 kB / 0.698 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4909, allocations: 4 kB / 0.698 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004191/0.4951, allocations: 1.103 MB / 0.699 GB, free: 2.457 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006693/0.5018, allocations: 2.614 MB / 0.7016 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.5018, allocations: 0 / 0.7016 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/0.5023, allocations: 111.9 kB / 0.7017 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004955/0.5028, allocations: 129.1 kB / 0.7018 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.582e-05/0.5029, allocations: 31.92 kB / 0.7019 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00485/0.5078, allocations: 2.583 MB / 0.7044 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.5078, allocations: 11.88 kB / 0.7044 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005391/0.5132, allocations: 1.699 MB / 0.706 GB, free: 10.94 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007212/0.5139, allocations: 307.2 kB / 0.7063 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003119/0.5143, allocations: 16 kB / 0.7064 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009746/0.5152, allocations: 51.94 kB / 0.7064 GB, free: 10.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001376/0.5154, allocations: 64.3 kB / 0.7065 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.085e-05/0.5155, allocations: 27.98 kB / 0.7065 GB, free: 10.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001456/0.5169, allocations: 0.8816 MB / 0.7074 GB, free: 9.582 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.374e-06/0.517, allocations: 0 / 0.7074 GB, free: 9.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002193/0.5192, allocations: 0.7251 MB / 0.7081 GB, free: 8.855 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.006266/0.5254, allocations: 2.596 MB / 0.7106 GB, free: 6.195 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002817/0.5283, allocations: 1.153 MB / 0.7117 GB, free: 5.047 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.5283, allocations: 3.938 kB / 0.7117 GB, free: 5.043 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001451/0.5297, allocations: 0.5604 MB / 0.7123 GB, free: 4.469 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003785/0.5335, allocations: 0.8041 MB / 0.7131 GB, free: 3.715 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02049/0.554, allocations: 10.46 MB / 0.7233 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/0.5552, allocations: 1.168 MB / 0.7244 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001587/0.5569, allocations: 303 kB / 0.7247 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007829/0.5577, allocations: 0.5071 MB / 0.7252 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/0.5577, allocations: 0 / 0.7252 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.295/0.8527, allocations: 42.16 MB / 0.7664 GB, free: 155.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.18, allocations: 10.52 kB / 0.7664 GB, free: 155.2 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)