Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.0009743/0.0009743, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009814/0.0009814, allocations: 195.4 kB / 16.14 MB, free: 6.688 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.23/1.23, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8232/0.8232, allocations: 135.1 MB / 425.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 63.78 kB / 0.5048 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.1246, allocations: 80.91 MB / 0.5838 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.2584/0.383, allocations: 70.03 MB / 0.6522 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01781/0.4009, allocations: 18.98 MB / 0.6707 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003054/0.404, allocations: 66.72 kB / 0.6708 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.4061, allocations: 0.6508 MB / 0.6714 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006249/0.4124, allocations: 2.601 MB / 0.674 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00346/0.4159, allocations: 1.488 MB / 0.6754 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005612/0.4215, allocations: 5.015 MB / 0.6803 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001913/0.4235, allocations: 1.178 MB / 0.6815 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003115/0.4266, allocations: 1.508 MB / 0.6829 GB, free: 7.199 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.4287, allocations: 1.153 MB / 0.6841 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003181/0.429, allocations: 75.66 kB / 0.6841 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002911/0.4319, allocations: 1.235 MB / 0.6854 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004272/0.4324, allocations: 296.2 kB / 0.6856 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001424/0.4338, allocations: 0.819 MB / 0.6864 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003915/0.4377, allocations: 3.025 MB / 0.6894 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.4377, allocations: 0 / 0.6894 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4378, allocations: 0 / 0.6894 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.778e-05/0.4378, allocations: 3.938 kB / 0.6894 GB, free: 4.492 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003932/0.4418, allocations: 2.033 MB / 0.6914 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.4418, allocations: 9.969 kB / 0.6914 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001875/0.442, allocations: 158.8 kB / 0.6915 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002135/0.4441, allocations: 447.3 kB / 0.692 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002296/0.4464, allocations: 1.502 MB / 0.6934 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003434/0.4468, allocations: 135.9 kB / 0.6936 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/0.4469, allocations: 102 kB / 0.6937 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.4493, allocations: 1.297 MB / 0.6949 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.4493, allocations: 9.25 kB / 0.6949 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.421e-05/0.4494, allocations: 45.62 kB / 0.695 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.4495, allocations: 30 kB / 0.695 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/0.452, allocations: 1.108 MB / 0.6961 GB, free: 0.7695 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.007253/0.4592, allocations: 7.132 MB / 0.7031 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002916/0.4622, allocations: 0.7959 MB / 0.7038 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005561/0.4627, allocations: 287.5 kB / 0.7041 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/0.4639, allocations: 1.723 MB / 0.7058 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.4639, allocations: 49.42 kB / 0.7058 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.905e-06/0.4639, allocations: 3.984 kB / 0.7058 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004425/0.4684, allocations: 1.331 MB / 0.7071 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.249e-05/0.4684, allocations: 64.27 kB / 0.7072 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00209/0.4705, allocations: 1.517 MB / 0.7087 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.4706, allocations: 38.42 kB / 0.7087 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005061/0.4711, allocations: 0.6635 MB / 0.7094 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001349/0.4712, allocations: 175.7 kB / 0.7095 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002584/0.4715, allocations: 161.6 kB / 0.7097 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.769e-05/0.4716, allocations: 336.9 kB / 0.71 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008826/0.4725, allocations: 361.2 kB / 0.7104 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.4736, allocations: 0.6374 MB / 0.711 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001584/0.4752, allocations: 0.8494 MB / 0.7118 GB, free: 4.738 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.4752, allocations: 6.375 kB / 0.7118 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003912/0.4791, allocations: 1.333 MB / 0.7131 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.4791, allocations: 8 kB / 0.7131 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.4792, allocations: 7 kB / 0.7131 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007606/0.4799, allocations: 217.5 kB / 0.7133 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006793/0.4806, allocations: 188.1 kB / 0.7135 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007196/0.4813, allocations: 0.7173 MB / 0.7142 GB, free: 3.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.4829, allocations: 232.2 kB / 0.7144 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.608e-05/0.483, allocations: 41.61 kB / 0.7145 GB, free: 3.121 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0004472/0.4834, allocations: 357.8 kB / 0.7148 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002062/0.4836, allocations: 148.9 kB / 0.715 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00212/0.4858, allocations: 1.131 MB / 0.7161 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.4858, allocations: 23.72 kB / 0.7161 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4858, allocations: 0 / 0.7161 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4858, allocations: 3.984 kB / 0.7161 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004585/0.4904, allocations: 2.511 MB / 0.7185 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.4904, allocations: 4.125 kB / 0.7185 GB, free: 364 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003253/0.4908, allocations: 89.98 kB / 0.7186 GB, free: 336 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000661/0.4914, allocations: 212.8 kB / 0.7188 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.4915, allocations: 17.14 kB / 0.7189 GB, free: 212 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.4926, allocations: 0.7729 MB / 0.7196 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4926, allocations: 2.906 kB / 0.7196 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00292/0.4955, allocations: 1.204 MB / 0.7208 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004132/0.496, allocations: 340.3 kB / 0.7211 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.4961, allocations: 21.8 kB / 0.7211 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008759/0.497, allocations: 93.66 kB / 0.7212 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.4971, allocations: 47.38 kB / 0.7213 GB, free: 14.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.201e-05/0.4972, allocations: 24.33 kB / 0.7213 GB, free: 14.43 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001427/0.4986, allocations: 1.072 MB / 0.7223 GB, free: 13.85 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4986, allocations: 3.938 kB / 0.7223 GB, free: 13.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001151/0.4998, allocations: 436.1 kB / 0.7228 GB, free: 13.72 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.003939/0.5037, allocations: 2.11 MB / 0.7248 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001818/0.5055, allocations: 0.8261 MB / 0.7256 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5056, allocations: 7.938 kB / 0.7256 GB, free: 10.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.5067, allocations: 443 kB / 0.7261 GB, free: 10.31 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/0.5094, allocations: 0.6942 MB / 0.7267 GB, free: 9.625 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02601/0.5354, allocations: 11.65 MB / 0.7381 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006177/0.5361, allocations: 1.172 MB / 0.7393 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001061/0.5371, allocations: 261.6 kB / 0.7395 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006574/0.5378, allocations: 0.5539 MB / 0.74 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of SimCode: time 4.71e-07/0.5378, allocations: 4 kB / 0.74 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05604/0.5938, allocations: 41.68 MB / 0.7807 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/0.5941, allocations: 267.3 kB / 0.781 GB, free: 1.836 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.037, allocations: 4 kB / 0.781 GB, free: 1.832 MB / 0.5919 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)