Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_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.004658/0.004658, allocations: 100.8 kB / 15.73 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.001278/0.001278, allocations: 191.5 kB / 16.67 MB, free: 6.348 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002464/0.002464, allocations: 270.9 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.067/1.067, allocations: 178.6 MB / 0.5074 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00271/0.00271, allocations: 97.34 kB / 0.6943 GB, free: 3.637 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4357, allocations: 89.13 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1393/0.575, allocations: 132.2 MB / 0.9105 GB, free: 10.7 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03328/0.6083, allocations: 23.23 MB / 0.9331 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004438/0.6128, allocations: 123.2 kB / 0.9333 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004213/0.6171, allocations: 1.49 MB / 0.9347 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0119/0.629, allocations: 4.104 MB / 0.9387 GB, free: 13.66 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005535/0.6346, allocations: 2.166 MB / 0.9408 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.009759/0.6443, allocations: 6.556 MB / 0.9472 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003667/0.648, allocations: 2.351 MB / 0.9495 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006222/0.6543, allocations: 2.752 MB / 0.9522 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003396/0.6577, allocations: 1.889 MB / 0.9541 GB, free: 13.88 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005329/0.6582, allocations: 248 kB / 0.9543 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004602/0.6628, allocations: 1.934 MB / 0.9562 GB, free: 11.7 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007325/0.6636, allocations: 0.607 MB / 0.9568 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002051/0.6657, allocations: 1.454 MB / 0.9582 GB, free: 9.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007627/0.6733, allocations: 4.385 MB / 0.9625 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.655e-06/0.6733, allocations: 0 / 0.9625 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6733, allocations: 0 / 0.9625 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.146e-05/0.6734, allocations: 0 / 0.9625 GB, free: 5.23 MB / 0.7169 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.007195/0.6806, allocations: 3.28 MB / 0.9657 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.6807, allocations: 8.031 kB / 0.9657 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003088/0.681, allocations: 228 kB / 0.9659 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004808/0.6858, allocations: 0.8572 MB / 0.9668 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005209/0.6911, allocations: 2.331 MB / 0.969 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.6912, allocations: 123 kB / 0.9691 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002577/0.6915, allocations: 167.9 kB / 0.9693 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004409/0.6959, allocations: 1.919 MB / 0.9712 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.696, allocations: 3.938 kB / 0.9712 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001705/0.6962, allocations: 64 kB / 0.9712 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/0.6962, allocations: 36 kB / 0.9713 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005075/0.7013, allocations: 1.807 MB / 0.973 GB, free: 10.18 MB / 0.7325 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.01402/0.7153, allocations: 9.014 MB / 0.9818 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004743/0.7201, allocations: 1.212 MB / 0.983 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.7214, allocations: 457.4 kB / 0.9835 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/0.7229, allocations: 1.723 MB / 0.9852 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.723, allocations: 42.56 kB / 0.9852 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=76): time 2.505e-06/0.723, allocations: 0 / 0.9852 GB, free: 12.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=76): time 0.009363/0.7323, allocations: 2.351 MB / 0.9875 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.7324, allocations: 93.09 kB / 0.9876 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00431/0.7367, allocations: 2.52 MB / 0.99 GB, free: 7.676 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.7369, allocations: 45.7 kB / 0.9901 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009958/0.7379, allocations: 1.054 MB / 0.9911 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003112/0.7382, allocations: 289.6 kB / 0.9914 GB, free: 6.277 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004428/0.7387, allocations: 254.7 kB / 0.9916 GB, free: 6.02 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.7388, allocations: 341.9 kB / 0.992 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001893/0.7407, allocations: 0.5764 MB / 0.9925 GB, free: 5.105 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002262/0.743, allocations: 0.9504 MB / 0.9934 GB, free: 4.004 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003275/0.7463, allocations: 1.248 MB / 0.9947 GB, free: 2.652 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.7463, allocations: 0 / 0.9947 GB, free: 2.652 MB / 0.7481 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007138/0.7535, allocations: 2.045 MB / 0.9967 GB, free: 0.5898 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.7535, allocations: 8 kB / 0.9967 GB, free: 0.582 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.7536, allocations: 11.98 kB / 0.9967 GB, free: 0.5703 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001974/0.7555, allocations: 497.8 kB / 0.9972 GB, free: 80 kB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.7569, allocations: 279.5 kB / 0.9974 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.7593, allocations: 1.522 MB / 0.9989 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/0.7621, allocations: 366.5 kB / 0.9993 GB, free: 13.88 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000159/0.7623, allocations: 63.95 kB / 0.9993 GB, free: 13.81 MB / 0.7637 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.000912/0.7632, allocations: 461.5 kB / 0.9998 GB, free: 13.35 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005402/0.7637, allocations: 258.4 kB / 1 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004003/0.7678, allocations: 1.508 MB / 1.001 GB, free: 11.58 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.59e-05/0.7678, allocations: 11.98 kB / 1.001 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.7678, allocations: 0 / 1.001 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.7678, allocations: 3.984 kB / 1.001 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008247/0.7761, allocations: 3.615 MB / 1.005 GB, free: 7.836 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.7761, allocations: 7.938 kB / 1.005 GB, free: 7.828 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006475/0.7768, allocations: 132.1 kB / 1.005 GB, free: 7.699 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001827/0.7786, allocations: 493 kB / 1.006 GB, free: 7.211 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.52e-05/0.7787, allocations: 23.98 kB / 1.006 GB, free: 7.188 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002894/0.7816, allocations: 1.585 MB / 1.007 GB, free: 5.551 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7816, allocations: 3.938 kB / 1.007 GB, free: 5.547 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006651/0.7883, allocations: 1.952 MB / 1.009 GB, free: 3.531 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/0.7894, allocations: 0.495 MB / 1.01 GB, free: 3.016 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003298/0.7897, allocations: 23.94 kB / 1.01 GB, free: 2.992 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/0.7914, allocations: 135.8 kB / 1.01 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.7916, allocations: 67.84 kB / 1.01 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.099e-05/0.7917, allocations: 39.97 kB / 1.01 GB, free: 2.754 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.003207/0.7949, allocations: 1.777 MB / 1.012 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7949, allocations: 7.938 kB / 1.012 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001977/0.7969, allocations: 0.6902 MB / 1.012 GB, free: 280 kB / 0.7637 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.008066/0.8049, allocations: 3.021 MB / 1.015 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.004588/0.8096, allocations: 1.346 MB / 1.017 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.8096, allocations: 0 / 1.017 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.002636/0.8122, allocations: 0.6744 MB / 1.017 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006258/0.8185, allocations: 1.32 MB / 1.018 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0374/0.8559, allocations: 16.74 MB / 1.035 GB, free: 8.648 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.8572, allocations: 1.49 MB / 1.036 GB, free: 7.121 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001827/0.859, allocations: 447 kB / 1.037 GB, free: 6.688 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.8603, allocations: 0.9015 MB / 1.038 GB, free: 5.785 MB / 0.795 GB Notification: Performance of SimCode: time 7.21e-07/0.8603, allocations: 0 / 1.038 GB, free: 5.785 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4309/1.291, allocations: 66.27 MB / 1.102 GB, free: 260.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/17.69, allocations: 3.719 kB / 1.102 GB, free: 260.3 MB / 0.8262 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)