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: translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001634/0.001634, allocations: 99.56 kB / 16.27 MB, free: 5.977 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.001451/0.001451, allocations: 189.9 kB / 17.2 MB, free: 5.602 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.303/1.303, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8129/0.8129, allocations: 135.2 MB / 426.2 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 63.91 kB / 0.506 GB, free: 8.328 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3449, allocations: 80.91 MB / 0.5851 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06345/0.4084, allocations: 70.45 MB / 0.6538 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02511/0.4335, allocations: 18.9 MB / 0.6723 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/0.4357, allocations: 67.62 kB / 0.6724 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.4378, allocations: 0.8307 MB / 0.6732 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007151/0.445, allocations: 2.852 MB / 0.676 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003895/0.4489, allocations: 1.637 MB / 0.6776 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005853/0.4548, allocations: 4.031 MB / 0.6815 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003337/0.4582, allocations: 1.465 MB / 0.6829 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004597/0.4628, allocations: 1.764 MB / 0.6847 GB, free: 4.258 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002376/0.4652, allocations: 1.179 MB / 0.6858 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005387/0.4657, allocations: 176 kB / 0.686 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003527/0.4693, allocations: 1.408 MB / 0.6873 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006464/0.4699, allocations: 398.6 kB / 0.6877 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001725/0.4717, allocations: 0.9138 MB / 0.6886 GB, free: 188 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005299/0.477, allocations: 3.081 MB / 0.6916 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.477, allocations: 4 kB / 0.6916 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.613e-06/0.477, allocations: 0 / 0.6916 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.1e-05/0.4771, allocations: 4 kB / 0.6916 GB, free: 13.09 MB / 0.5294 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.004377/0.4815, allocations: 2.03 MB / 0.6936 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4815, allocations: 9.109 kB / 0.6936 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002282/0.4838, allocations: 445.8 kB / 0.6941 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002629/0.4864, allocations: 1.481 MB / 0.6955 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/0.4868, allocations: 137.9 kB / 0.6956 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.487, allocations: 104 kB / 0.6957 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.4896, allocations: 1.317 MB / 0.697 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.4896, allocations: 11.94 kB / 0.697 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.991e-05/0.4897, allocations: 44 kB / 0.6971 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.4898, allocations: 31.94 kB / 0.6971 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002746/0.4925, allocations: 1.108 MB / 0.6982 GB, free: 6.152 MB / 0.5294 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.009651/0.5022, allocations: 7.54 MB / 0.7055 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003166/0.5054, allocations: 0.8024 MB / 0.7063 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006596/0.5061, allocations: 289.9 kB / 0.7066 GB, free: 13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/0.5076, allocations: 1.726 MB / 0.7083 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.5076, allocations: 39 kB / 0.7083 GB, free: 10.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=48): time 2.895e-06/0.5076, allocations: 0 / 0.7083 GB, free: 10.84 MB / 0.545 GB Notification: Performance of matching and sorting (n=48): time 0.004922/0.5126, allocations: 1.33 MB / 0.7096 GB, free: 9.48 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.5126, allocations: 59.83 kB / 0.7097 GB, free: 9.41 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002495/0.5151, allocations: 1.553 MB / 0.7112 GB, free: 7.848 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 8.48e-05/0.5152, allocations: 41.64 kB / 0.7112 GB, free: 7.801 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006232/0.5159, allocations: 0.6729 MB / 0.7119 GB, free: 7.121 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.516, allocations: 169.6 kB / 0.7121 GB, free: 6.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002863/0.5163, allocations: 174.5 kB / 0.7122 GB, free: 6.773 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.5165, allocations: 345.8 kB / 0.7126 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001025/0.5175, allocations: 369.8 kB / 0.7129 GB, free: 6.07 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.5189, allocations: 0.6624 MB / 0.7136 GB, free: 5.281 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.5207, allocations: 0.8906 MB / 0.7144 GB, free: 4.281 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.5207, allocations: 4 kB / 0.7144 GB, free: 4.277 MB / 0.545 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003187/0.5239, allocations: 1.201 MB / 0.7156 GB, free: 3.062 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.524, allocations: 8 kB / 0.7156 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/0.524, allocations: 11.98 kB / 0.7156 GB, free: 3.043 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008718/0.5249, allocations: 224.6 kB / 0.7158 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007656/0.5257, allocations: 195.7 kB / 0.716 GB, free: 2.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009236/0.5266, allocations: 0.72 MB / 0.7167 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001591/0.5282, allocations: 218.7 kB / 0.7169 GB, free: 1.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.83e-05/0.5283, allocations: 47.97 kB / 0.717 GB, free: 1.621 MB / 0.545 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 (84): * Single equations (assignments): 83 * 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.0006138/0.5289, allocations: 355.8 kB / 0.7173 GB, free: 1.266 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/0.5292, allocations: 150.2 kB / 0.7175 GB, free: 1.117 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002458/0.5317, allocations: 1.134 MB / 0.7186 GB, free: 15.99 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.5317, allocations: 15.94 kB / 0.7186 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.5317, allocations: 0 / 0.7186 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/0.5317, allocations: 4 kB / 0.7186 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005412/0.5371, allocations: 2.518 MB / 0.7211 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/0.5372, allocations: 0 / 0.7211 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.5376, allocations: 79.88 kB / 0.7211 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000811/0.5384, allocations: 220.8 kB / 0.7213 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/0.5384, allocations: 12 kB / 0.7213 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001377/0.5398, allocations: 0.7786 MB / 0.7221 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/0.5399, allocations: 4.031 kB / 0.7221 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003617/0.5435, allocations: 1.211 MB / 0.7233 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007336/0.5442, allocations: 346.9 kB / 0.7236 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.5444, allocations: 12 kB / 0.7236 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000897/0.5453, allocations: 75.91 kB / 0.7237 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.5455, allocations: 44.45 kB / 0.7238 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.836e-05/0.5455, allocations: 27.97 kB / 0.7238 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001858/0.5474, allocations: 1.09 MB / 0.7248 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5474, allocations: 0 / 0.7248 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001307/0.5487, allocations: 451.2 kB / 0.7253 GB, free: 8.961 MB / 0.5606 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.0009185/0.5496, allocations: 476.1 kB / 0.7257 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002418/0.5521, allocations: 0.8761 MB / 0.7266 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.5521, allocations: 8.062 kB / 0.7266 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/0.5534, allocations: 439.3 kB / 0.727 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003334/0.5568, allocations: 0.7497 MB / 0.7277 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/0.5608, allocations: 2.322 MB / 0.73 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000788/0.5617, allocations: 1.157 MB / 0.7311 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00036/0.562, allocations: 127.4 kB / 0.7313 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/0.562, allocations: 0 / 0.7313 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of Templates: time 0.293/0.855, allocations: 34.09 MB / 0.7645 GB, free: 150.4 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)