Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_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.001333/0.001332, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001397/0.001397, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.232/2.232, allocations: 223.2 MB / 239.9 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.9698/0.9698, allocations: 132.2 MB / 423.2 MB, free: 2.188 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005483/0.0005485, allocations: 8.562 kB / 0.5033 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8702/0.8708, allocations: 81.58 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.1153/0.9862, allocations: 59.13 MB / 0.6407 GB, free: 5.34 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.03907/1.025, allocations: 15.07 MB / 0.6554 GB, free: 6.246 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005339/1.031, allocations: 59.56 kB / 0.6555 GB, free: 6.188 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005634/1.036, allocations: 0.6995 MB / 0.6562 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01572/1.052, allocations: 2.314 MB / 0.6584 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008675/1.061, allocations: 1.533 MB / 0.6599 GB, free: 1.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.008087/1.069, allocations: 2.281 MB / 0.6621 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003344/1.072, allocations: 1.03 MB / 0.6631 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005722/1.078, allocations: 1.265 MB / 0.6644 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003184/1.081, allocations: 0.7817 MB / 0.6651 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.00108/1.083, allocations: 60 kB / 0.6652 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005621/1.088, allocations: 0.9829 MB / 0.6662 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007419/1.089, allocations: 238.9 kB / 0.6664 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001241/1.09, allocations: 368.9 kB / 0.6667 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006098/1.096, allocations: 2.279 MB / 0.669 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/1.097, allocations: 4 kB / 0.669 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of FrontEnd: time 6.873e-06/1.097, allocations: 0 / 0.669 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001219/1.097, allocations: 0 / 0.669 GB, free: 8.332 MB / 0.4981 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.00693/1.104, allocations: 1.719 MB / 0.6707 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.496e-05/1.104, allocations: 8.031 kB / 0.6707 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006214/1.104, allocations: 156.4 kB / 0.6708 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003424/1.108, allocations: 0.4937 MB / 0.6713 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005453/1.113, allocations: 1.431 MB / 0.6727 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005639/1.114, allocations: 142 kB / 0.6728 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003473/1.114, allocations: 108 kB / 0.6729 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004059/1.118, allocations: 1.301 MB / 0.6742 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/1.118, allocations: 7.938 kB / 0.6742 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/1.119, allocations: 40 kB / 0.6742 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.874e-05/1.119, allocations: 31.95 kB / 0.6743 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003997/1.123, allocations: 1.151 MB / 0.6754 GB, free: 1.527 MB / 0.4981 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.01414/1.137, allocations: 7.223 MB / 0.6825 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004713/1.142, allocations: 0.9 MB / 0.6833 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00183/1.143, allocations: 1.711 MB / 0.685 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.755e-05/1.143, allocations: 39 kB / 0.685 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=48): time 4.128e-06/1.144, allocations: 0 / 0.685 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of matching and sorting (n=48): time 0.007641/1.151, allocations: 1.444 MB / 0.6864 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.353e-05/1.151, allocations: 55.84 kB / 0.6865 GB, free: 5.215 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004171/1.156, allocations: 1.54 MB / 0.688 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/1.156, allocations: 37.7 kB / 0.688 GB, free: 3.621 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000885/1.157, allocations: 0.673 MB / 0.6887 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/1.157, allocations: 169.6 kB / 0.6889 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.91e-05/1.157, allocations: 16 kB / 0.6889 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002114/1.157, allocations: 337.9 kB / 0.6892 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/1.159, allocations: 381.8 kB / 0.6896 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/1.161, allocations: 0.6627 MB / 0.6902 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/1.162, allocations: 438 kB / 0.6906 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/1.162, allocations: 3.938 kB / 0.6906 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004676/1.167, allocations: 1.208 MB / 0.6918 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.474e-05/1.167, allocations: 9.875 kB / 0.6918 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/1.167, allocations: 8 kB / 0.6918 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001341/1.168, allocations: 229.3 kB / 0.692 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/1.17, allocations: 195.7 kB / 0.6922 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/1.171, allocations: 0.7318 MB / 0.6929 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002918/1.174, allocations: 266.7 kB / 0.6932 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/1.174, allocations: 39.98 kB / 0.6932 GB, free: 14.13 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of prepare postOptimizeDAE: time 0.001119/1.175, allocations: 356.6 kB / 0.6936 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004816/1.176, allocations: 150.2 kB / 0.6937 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003885/1.18, allocations: 1.173 MB / 0.6949 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.014e-05/1.18, allocations: 11.98 kB / 0.6949 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.908e-06/1.18, allocations: 3.938 kB / 0.6949 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/1.18, allocations: 3.984 kB / 0.6949 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008484/1.188, allocations: 2.615 MB / 0.6974 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/1.188, allocations: 4 kB / 0.6974 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005711/1.189, allocations: 87.89 kB / 0.6975 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001207/1.19, allocations: 220.8 kB / 0.6977 GB, free: 9.445 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/1.19, allocations: 19.98 kB / 0.6978 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00196/1.192, allocations: 0.8059 MB / 0.6985 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/1.192, allocations: 11.98 kB / 0.6986 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005383/1.197, allocations: 1.361 MB / 0.6999 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.199, allocations: 374.9 kB / 0.7002 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/1.199, allocations: 19.94 kB / 0.7003 GB, free: 6.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/1.201, allocations: 111.8 kB / 0.7004 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/1.201, allocations: 40.5 kB / 0.7004 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/1.201, allocations: 27.98 kB / 0.7004 GB, free: 6.562 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002935/1.204, allocations: 1.086 MB / 0.7015 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.11e-07/1.204, allocations: 0 / 0.7015 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002362/1.206, allocations: 447.4 kB / 0.7019 GB, free: 5.043 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.007013/1.213, allocations: 2.661 MB / 0.7045 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00344/1.217, allocations: 0.868 MB / 0.7054 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.217, allocations: 4 kB / 0.7054 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001946/1.219, allocations: 471.5 kB / 0.7058 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005342/1.224, allocations: 0.6865 MB / 0.7065 GB, free: 324 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/1.237, allocations: 8.483 MB / 0.7148 GB, free: 7.496 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/1.238, allocations: 1.203 MB / 0.716 GB, free: 6.262 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00205/1.24, allocations: 263.9 kB / 0.7162 GB, free: 6.016 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/1.241, allocations: 0.5422 MB / 0.7167 GB, free: 5.477 MB / 0.545 GB Notification: Performance of SimCode: time 1.133e-06/1.241, allocations: 0 / 0.7167 GB, free: 5.477 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1187/1.36, allocations: 42.41 MB / 0.7582 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003678/1.36, allocations: 242.2 kB / 0.7584 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.572/5.932, allocations: 0 / 0.7584 GB, free: 11.41 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) Environment - environmentSimulation: