Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_IDEAS_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.005196/0.005196, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001225/0.001226, allocations: 193.3 kB / 16.67 MB, free: 5.969 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7061/0.7061, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 67.73 kB / 0.5809 GB, free: 1.117 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.151, allocations: 80.21 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1111/0.2621, allocations: 132.2 MB / 0.7883 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02828/0.2904, allocations: 23.19 MB / 0.8109 GB, free: 2.117 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004034/0.2945, allocations: 123.2 kB / 0.8111 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00351/0.2981, allocations: 1.533 MB / 0.8126 GB, free: 464 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.3683/0.6664, allocations: 4.302 MB / 0.8168 GB, free: 42.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005432/0.6718, allocations: 2.167 MB / 0.8189 GB, free: 42.23 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01138/0.6832, allocations: 6.564 MB / 0.8253 GB, free: 42.22 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00456/0.6878, allocations: 2.357 MB / 0.8276 GB, free: 41.93 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00771/0.6955, allocations: 2.83 MB / 0.8303 GB, free: 41.91 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004006/0.6996, allocations: 1.88 MB / 0.8322 GB, free: 41.6 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005267/0.7001, allocations: 248.8 kB / 0.8324 GB, free: 41.6 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004763/0.7049, allocations: 1.945 MB / 0.8343 GB, free: 41.59 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005156/0.7054, allocations: 0.5934 MB / 0.8349 GB, free: 41.49 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001903/0.7073, allocations: 1.463 MB / 0.8363 GB, free: 41.09 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.005671/0.713, allocations: 4.406 MB / 0.8406 GB, free: 40.5 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.713, allocations: 0 / 0.8406 GB, free: 40.5 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.633e-06/0.713, allocations: 0 / 0.8406 GB, free: 40.5 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.451e-05/0.7131, allocations: 0 / 0.8406 GB, free: 40.5 MB / 0.6387 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.0048/0.7179, allocations: 3.283 MB / 0.8438 GB, free: 38.89 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.7179, allocations: 10.19 kB / 0.8438 GB, free: 38.89 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002121/0.7181, allocations: 220.6 kB / 0.8441 GB, free: 38.85 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004116/0.7223, allocations: 0.8578 MB / 0.8449 GB, free: 38.66 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003636/0.7259, allocations: 2.333 MB / 0.8472 GB, free: 38.06 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.538e-05/0.726, allocations: 126.3 kB / 0.8473 GB, free: 38.05 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00021/0.7262, allocations: 161.2 kB / 0.8474 GB, free: 38.05 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/0.7298, allocations: 1.919 MB / 0.8493 GB, free: 37.83 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.158e-05/0.7298, allocations: 3.375 kB / 0.8493 GB, free: 37.83 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.73, allocations: 69.56 kB / 0.8494 GB, free: 37.83 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.612e-05/0.73, allocations: 41.8 kB / 0.8494 GB, free: 37.82 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004075/0.7341, allocations: 1.8 MB / 0.8512 GB, free: 37.78 MB / 0.6387 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.01038/0.7445, allocations: 9.013 MB / 0.86 GB, free: 33.41 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003949/0.7484, allocations: 1.201 MB / 0.8612 GB, free: 33.34 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009864/0.7494, allocations: 456.1 kB / 0.8616 GB, free: 33.32 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007208/0.7502, allocations: 1.722 MB / 0.8633 GB, free: 31.34 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.7502, allocations: 44.28 kB / 0.8633 GB, free: 31.3 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.925e-06/0.7502, allocations: 0 / 0.8633 GB, free: 31.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.008016/0.7582, allocations: 2.36 MB / 0.8656 GB, free: 30.75 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.7583, allocations: 85.08 kB / 0.8657 GB, free: 30.65 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003503/0.7618, allocations: 2.523 MB / 0.8682 GB, free: 30.03 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.7619, allocations: 44.77 kB / 0.8682 GB, free: 30 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006728/0.7626, allocations: 1.059 MB / 0.8692 GB, free: 29.62 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002264/0.7628, allocations: 286.5 kB / 0.8695 GB, free: 29.42 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003802/0.7632, allocations: 256.7 kB / 0.8698 GB, free: 29.36 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.613e-05/0.7633, allocations: 342.4 kB / 0.8701 GB, free: 29.04 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.7648, allocations: 0.5748 MB / 0.8707 GB, free: 28.92 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.7666, allocations: 0.9554 MB / 0.8716 GB, free: 28.38 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002613/0.7692, allocations: 1.254 MB / 0.8728 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.7692, allocations: 2.094 kB / 0.8728 GB, free: 27.89 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005817/0.7751, allocations: 2.034 MB / 0.8748 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/0.7751, allocations: 13.56 kB / 0.8748 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.7751, allocations: 14.61 kB / 0.8748 GB, free: 26.92 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/0.7768, allocations: 496.2 kB / 0.8753 GB, free: 26.67 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.7779, allocations: 284.4 kB / 0.8756 GB, free: 26.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/0.7796, allocations: 1.513 MB / 0.877 GB, free: 25.31 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.7822, allocations: 371.2 kB / 0.8774 GB, free: 25.11 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.7823, allocations: 62.28 kB / 0.8775 GB, free: 25.09 MB / 0.6387 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.0007755/0.7831, allocations: 459.7 kB / 0.8779 GB, free: 24.78 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003326/0.7834, allocations: 263.8 kB / 0.8782 GB, free: 24.53 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/0.7864, allocations: 1.503 MB / 0.8796 GB, free: 23.04 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/0.7864, allocations: 8 kB / 0.8796 GB, free: 23.03 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.7864, allocations: 0 / 0.8796 GB, free: 23.03 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.7865, allocations: 11.98 kB / 0.8796 GB, free: 23.02 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006071/0.7925, allocations: 3.611 MB / 0.8832 GB, free: 19.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.7926, allocations: 8.031 kB / 0.8832 GB, free: 19.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/0.7931, allocations: 126.5 kB / 0.8833 GB, free: 19.22 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001399/0.7945, allocations: 489.1 kB / 0.8838 GB, free: 18.73 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/0.7946, allocations: 23.92 kB / 0.8838 GB, free: 18.71 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/0.7967, allocations: 1.589 MB / 0.8853 GB, free: 17.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.7967, allocations: 7.281 kB / 0.8853 GB, free: 17.07 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005067/0.8018, allocations: 1.953 MB / 0.8873 GB, free: 15.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008097/0.8026, allocations: 0.4911 MB / 0.8877 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003057/0.8029, allocations: 19.98 kB / 0.8877 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001562/0.8045, allocations: 143.3 kB / 0.8879 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.8046, allocations: 63.81 kB / 0.8879 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.839e-05/0.8047, allocations: 43.14 kB / 0.888 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002293/0.807, allocations: 1.773 MB / 0.8897 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.807, allocations: 0 / 0.8897 GB, free: 12.55 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001663/0.8086, allocations: 0.698 MB / 0.8904 GB, free: 11.86 MB / 0.6387 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.006152/0.8148, allocations: 3.012 MB / 0.8933 GB, free: 8.867 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003542/0.8184, allocations: 1.343 MB / 0.8947 GB, free: 7.57 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.8184, allocations: 4 kB / 0.8947 GB, free: 7.566 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002033/0.8204, allocations: 0.6821 MB / 0.8953 GB, free: 6.91 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005129/0.8256, allocations: 1.332 MB / 0.8966 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02948/0.855, allocations: 16.73 MB / 0.913 GB, free: 4.648 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009575/0.856, allocations: 1.493 MB / 0.9144 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001731/0.8578, allocations: 430.3 kB / 0.9148 GB, free: 2.715 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/0.8589, allocations: 0.9015 MB / 0.9157 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of SimCode: time 6.81e-07/0.8589, allocations: 0 / 0.9157 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/0.9626, allocations: 66.19 MB / 0.9804 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.94/15.9, allocations: 4 kB / 0.9804 GB, free: 0.625 MB / 0.7169 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)