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.0009591/0.0009592, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001007/0.001007, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.2 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7432/0.7432, allocations: 132.3 MB / 423.4 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003509/0.0003509, allocations: 8 kB / 0.5035 GB, free: 4.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4983/0.4987, allocations: 81.57 MB / 0.5831 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1211/0.6199, allocations: 122.2 MB / 0.7025 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03037/0.6503, allocations: 21.76 MB / 0.7237 GB, free: 212 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003844/0.6542, allocations: 107.2 kB / 0.7238 GB, free: 104 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003194/0.6574, allocations: 1.001 MB / 0.7248 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008729/0.6661, allocations: 3.17 MB / 0.7279 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004465/0.6706, allocations: 1.511 MB / 0.7294 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009366/0.68, allocations: 7.189 MB / 0.7364 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003172/0.6832, allocations: 1.68 MB / 0.738 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005461/0.6887, allocations: 2.162 MB / 0.7401 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003465/0.6921, allocations: 1.676 MB / 0.7418 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005325/0.6927, allocations: 92 kB / 0.7419 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004006/0.6967, allocations: 1.224 MB / 0.743 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005714/0.6973, allocations: 421.9 kB / 0.7434 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.6985, allocations: 0.5511 MB / 0.744 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004112/0.7027, allocations: 3.137 MB / 0.7471 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.7027, allocations: 0 / 0.7471 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/0.7027, allocations: 0 / 0.7471 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.955e-05/0.7028, allocations: 0 / 0.7471 GB, free: 8.211 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.005087/0.7079, allocations: 2.705 MB / 0.7497 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.7079, allocations: 16.02 kB / 0.7497 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003284/0.7082, allocations: 219.8 kB / 0.7499 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004028/0.7123, allocations: 0.9529 MB / 0.7508 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004166/0.7165, allocations: 2.192 MB / 0.753 GB, free: 1.957 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008455/0.7173, allocations: 322.8 kB / 0.7533 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002942/0.7176, allocations: 160 kB / 0.7534 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004095/0.7217, allocations: 1.966 MB / 0.7554 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.7218, allocations: 7.938 kB / 0.7554 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001364/0.7219, allocations: 60 kB / 0.7554 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.01e-05/0.722, allocations: 40 kB / 0.7555 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004449/0.7264, allocations: 1.901 MB / 0.7573 GB, free: 13.45 MB / 0.5919 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.01183/0.7383, allocations: 9.098 MB / 0.7662 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003823/0.7421, allocations: 1.31 MB / 0.7675 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009972/0.7431, allocations: 477.4 kB / 0.7679 GB, free: 1.941 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/0.7443, allocations: 1.727 MB / 0.7696 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.7443, allocations: 38.56 kB / 0.7697 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.535e-06/0.7443, allocations: 0 / 0.7697 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.00763/0.7519, allocations: 2.506 MB / 0.7721 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.752, allocations: 85.11 kB / 0.7722 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003901/0.7559, allocations: 2.513 MB / 0.7747 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/0.7561, allocations: 45.7 kB / 0.7747 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009001/0.757, allocations: 1.05 MB / 0.7757 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002739/0.7573, allocations: 268.2 kB / 0.776 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.349e-05/0.7573, allocations: 27.94 kB / 0.776 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.7575, allocations: 349.9 kB / 0.7763 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.7592, allocations: 0.631 MB / 0.777 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/0.7613, allocations: 1.001 MB / 0.7779 GB, free: 7.059 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/0.763, allocations: 0.6897 MB / 0.7786 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.763, allocations: 4 kB / 0.7786 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004855/0.7679, allocations: 1.96 MB / 0.7805 GB, free: 4.391 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.7679, allocations: 8 kB / 0.7805 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.768, allocations: 8.625 kB / 0.7805 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/0.7697, allocations: 0.5088 MB / 0.781 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.7708, allocations: 303.6 kB / 0.7813 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002001/0.7728, allocations: 1.552 MB / 0.7828 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/0.7756, allocations: 477.9 kB / 0.7833 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.7757, allocations: 63.95 kB / 0.7834 GB, free: 1.43 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0008413/0.7766, allocations: 461.4 kB / 0.7838 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/0.7769, allocations: 245 kB / 0.784 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003392/0.7803, allocations: 1.561 MB / 0.7856 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.7804, allocations: 12 kB / 0.7856 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.7804, allocations: 3.953 kB / 0.7856 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.7804, allocations: 7.969 kB / 0.7856 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00696/0.7874, allocations: 3.69 MB / 0.7892 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.7874, allocations: 4 kB / 0.7892 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005985/0.788, allocations: 136.1 kB / 0.7893 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.7897, allocations: 0.501 MB / 0.7898 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.471e-05/0.7898, allocations: 23.98 kB / 0.7898 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/0.7922, allocations: 1.645 MB / 0.7914 GB, free: 8.977 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.7923, allocations: 4 kB / 0.7914 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005469/0.7977, allocations: 2.08 MB / 0.7935 GB, free: 6.828 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.7988, allocations: 0.5053 MB / 0.794 GB, free: 6.301 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003003/0.7991, allocations: 27.98 kB / 0.794 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00165/0.8008, allocations: 199.6 kB / 0.7942 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/0.8009, allocations: 59.88 kB / 0.7942 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/0.8009, allocations: 39.97 kB / 0.7943 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002804/0.8038, allocations: 1.769 MB / 0.796 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8038, allocations: 0 / 0.796 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001742/0.8055, allocations: 0.6788 MB / 0.7967 GB, free: 3.527 MB / 0.6231 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006876/0.8124, allocations: 3.094 MB / 0.7997 GB, free: 388 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00406/0.8165, allocations: 1.432 MB / 0.8011 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.8165, allocations: 4 kB / 0.8011 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002079/0.8186, allocations: 0.7248 MB / 0.8018 GB, free: 14.22 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006128/0.8247, allocations: 1.268 MB / 0.803 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3027/1.127, allocations: 15.07 MB / 0.8177 GB, free: 210.2 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/1.129, allocations: 1.491 MB / 0.8192 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002119/1.131, allocations: 433.6 kB / 0.8196 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.132, allocations: 0.902 MB / 0.8205 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of SimCode: time 9.31e-07/1.132, allocations: 0 / 0.8205 GB, free: 208.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1164/1.248, allocations: 68.63 MB / 0.8875 GB, free: 158.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/1.249, allocations: 250.1 kB / 0.8878 GB, free: 158.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.7/4.948, allocations: 0 / 0.8878 GB, free: 158.3 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) Environment - environmentSimulation: