Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000951/0.000951, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009991/0.000999, allocations: 185.5 kB / 16.93 MB, free: 6.703 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.288/1.288, allocations: 223.3 MB / 241 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9058/0.9058, allocations: 135.3 MB / 427.4 MB, free: 14.17 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003104, allocations: 13.53 kB / 0.5082 GB, free: 4.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1471, allocations: 82.31 MB / 0.5886 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.3221/0.4693, allocations: 59.7 MB / 0.6469 GB, free: 17.42 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01215/0.4815, allocations: 11.9 MB / 0.6585 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001659/0.4832, allocations: 53.59 kB / 0.6586 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001303/0.4845, allocations: 0.5597 MB / 0.6591 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003669/0.4882, allocations: 1.793 MB / 0.6609 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002137/0.4903, allocations: 1.07 MB / 0.6619 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00342/0.4938, allocations: 3.903 MB / 0.6657 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001292/0.4951, allocations: 0.8875 MB / 0.6666 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002127/0.4972, allocations: 1.125 MB / 0.6677 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.4985, allocations: 0.8614 MB / 0.6685 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.4986, allocations: 41.94 kB / 0.6686 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.5011, allocations: 1.365 MB / 0.6699 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.5013, allocations: 212.7 kB / 0.6701 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00074/0.5021, allocations: 0.6352 MB / 0.6707 GB, free: 3.062 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002401/0.5045, allocations: 1.714 MB / 0.6724 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.5045, allocations: 1.688 kB / 0.6724 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5045, allocations: 0 / 0.6724 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.178e-05/0.5046, allocations: 0 / 0.6724 GB, free: 2.637 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002867/0.5074, allocations: 1.497 MB / 0.6739 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.5075, allocations: 9.281 kB / 0.6739 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.5092, allocations: 388.9 kB / 0.6743 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.5112, allocations: 1.126 MB / 0.6754 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003747/0.5116, allocations: 124.6 kB / 0.6755 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.5117, allocations: 90.41 kB / 0.6756 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.5137, allocations: 0.965 MB / 0.6765 GB, free: 308 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.5137, allocations: 4.812 kB / 0.6765 GB, free: 304 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.489e-05/0.5138, allocations: 36.19 kB / 0.6765 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/0.5138, allocations: 20.05 kB / 0.6766 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002079/0.5159, allocations: 0.8416 MB / 0.6774 GB, free: 0 / 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.006516/0.5224, allocations: 4.812 MB / 0.6821 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.5241, allocations: 0.6034 MB / 0.6827 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006489/0.5247, allocations: 285.6 kB / 0.6829 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/0.5261, allocations: 1.399 MB / 0.6843 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.5262, allocations: 41.81 kB / 0.6844 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.395e-06/0.5262, allocations: 0 / 0.6844 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.00629/0.5325, allocations: 1.685 MB / 0.686 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.5325, allocations: 56.77 kB / 0.6861 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001758/0.5343, allocations: 1.063 MB / 0.6871 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/0.5344, allocations: 38.2 kB / 0.6871 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004416/0.5348, allocations: 0.5176 MB / 0.6876 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/0.535, allocations: 161.4 kB / 0.6878 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.999e-05/0.5351, allocations: 48.14 kB / 0.6878 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5352, allocations: 325.5 kB / 0.6881 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007881/0.536, allocations: 286.9 kB / 0.6884 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009902/0.537, allocations: 497 kB / 0.6889 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.5385, allocations: 0.6571 MB / 0.6895 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.5385, allocations: 5.062 kB / 0.6895 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002549/0.541, allocations: 0.9776 MB / 0.6905 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001288/0.5412, allocations: 206.9 kB / 0.6907 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.5412, allocations: 3.969 kB / 0.6907 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001394/0.5426, allocations: 331.3 kB / 0.691 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004719/0.5431, allocations: 119.5 kB / 0.6911 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.5446, allocations: 0.9411 MB / 0.692 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/0.5461, allocations: 181 kB / 0.6922 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.819e-05/0.5462, allocations: 29.16 kB / 0.6922 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.5462, allocations: 4.094 kB / 0.6922 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002315/0.5485, allocations: 0.8461 MB / 0.6931 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.5486, allocations: 8.594 kB / 0.6931 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/0.5498, allocations: 333 kB / 0.6934 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004747/0.5503, allocations: 115.6 kB / 0.6935 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.5517, allocations: 0.9379 MB / 0.6944 GB, free: 5.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.5531, allocations: 162.5 kB / 0.6946 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.966e-05/0.5532, allocations: 32.05 kB / 0.6946 GB, free: 5.359 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006929/0.5539, allocations: 344.4 kB / 0.6949 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/0.5542, allocations: 107.4 kB / 0.695 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002552/0.5567, allocations: 0.9513 MB / 0.696 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.5568, allocations: 6.719 kB / 0.696 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5568, allocations: 1.031 kB / 0.696 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.5568, allocations: 2.578 kB / 0.696 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006813/0.5636, allocations: 2.334 MB / 0.6983 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.5636, allocations: 2.281 kB / 0.6983 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002324/0.5639, allocations: 61.06 kB / 0.6983 GB, free: 3.645 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001171/0.5651, allocations: 327 kB / 0.6986 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.454e-05/0.5651, allocations: 12.44 kB / 0.6986 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.5667, allocations: 0.9825 MB / 0.6996 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.5668, allocations: 2.188 kB / 0.6996 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004629/0.5714, allocations: 1.36 MB / 0.7009 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007364/0.5722, allocations: 279.8 kB / 0.7012 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002564/0.5724, allocations: 12.72 kB / 0.7012 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009904/0.5734, allocations: 104.5 kB / 0.7013 GB, free: 2.098 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.112e-05/0.5735, allocations: 33.06 kB / 0.7013 GB, free: 2.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-05/0.5736, allocations: 24.34 kB / 0.7014 GB, free: 2.09 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001486/0.5751, allocations: 0.7438 MB / 0.7021 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5751, allocations: 3.938 kB / 0.7021 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002137/0.5772, allocations: 0.5678 MB / 0.7026 GB, free: 1.66 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001065/0.5783, allocations: 410.1 kB / 0.703 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002991/0.5813, allocations: 1.059 MB / 0.7041 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5813, allocations: 0 / 0.7041 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007968/0.5821, allocations: 333.6 kB / 0.7044 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/0.5852, allocations: 0.5022 MB / 0.7049 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.5892, allocations: 2.319 MB / 0.7071 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006625/0.5898, allocations: 1.058 MB / 0.7082 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.5901, allocations: 87.2 kB / 0.7083 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of SimCode: time 1.954e-06/0.5901, allocations: 0 / 0.7083 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.03097/0.6211, allocations: 23.88 MB / 0.7316 GB, free: 8.84 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)