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: translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.0008167/0.0008167, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.005171/0.005171, allocations: 172.2 kB / 16.26 MB, free: 6.676 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7978/0.7978, allocations: 132.4 MB / 423.8 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003881, allocations: 8 kB / 0.504 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4818/0.4822, allocations: 81.57 MB / 0.5837 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08363/0.5659, allocations: 68.83 MB / 0.6509 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02815/0.5941, allocations: 18.75 MB / 0.6692 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004038/0.5982, allocations: 63.56 kB / 0.6693 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003356/0.6016, allocations: 0.6527 MB / 0.6699 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.6119, allocations: 2.609 MB / 0.6724 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005514/0.6174, allocations: 1.487 MB / 0.6739 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007781/0.6252, allocations: 5.016 MB / 0.6788 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003178/0.6284, allocations: 1.152 MB / 0.6799 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005006/0.6335, allocations: 1.45 MB / 0.6813 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003038/0.6366, allocations: 1.104 MB / 0.6824 GB, free: 11 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005407/0.6371, allocations: 60 kB / 0.6825 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004025/0.6412, allocations: 1.224 MB / 0.6837 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006287/0.6418, allocations: 258.7 kB / 0.6839 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002076/0.6439, allocations: 0.806 MB / 0.6847 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005749/0.6497, allocations: 2.955 MB / 0.6876 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.6497, allocations: 4 kB / 0.6876 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.474e-06/0.6497, allocations: 0 / 0.6876 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.127e-05/0.6498, allocations: 0 / 0.6876 GB, free: 5.68 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.005234/0.6551, allocations: 1.707 MB / 0.6893 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.6551, allocations: 12.03 kB / 0.6893 GB, free: 3.898 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/0.6579, allocations: 0.4979 MB / 0.6898 GB, free: 3.398 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003547/0.6615, allocations: 1.512 MB / 0.6912 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004266/0.662, allocations: 146 kB / 0.6914 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002698/0.6622, allocations: 104 kB / 0.6915 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003507/0.6658, allocations: 1.321 MB / 0.6928 GB, free: 172 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.557e-05/0.6658, allocations: 3.938 kB / 0.6928 GB, free: 168 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/0.666, allocations: 44 kB / 0.6928 GB, free: 124 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.902e-05/0.666, allocations: 31.94 kB / 0.6928 GB, free: 92 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003292/0.6693, allocations: 1.155 MB / 0.694 GB, free: 14.93 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.0105/0.6798, allocations: 7.195 MB / 0.701 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003393/0.6833, allocations: 0.8899 MB / 0.7019 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000685/0.684, allocations: 302 kB / 0.7021 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/0.6854, allocations: 1.718 MB / 0.7038 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.6855, allocations: 42.94 kB / 0.7039 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.805e-06/0.6855, allocations: 0 / 0.7039 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.005382/0.6909, allocations: 1.455 MB / 0.7053 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.6909, allocations: 59.78 kB / 0.7053 GB, free: 2.336 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003284/0.6942, allocations: 1.533 MB / 0.7068 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.6943, allocations: 33.7 kB / 0.7069 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006447/0.695, allocations: 0.673 MB / 0.7075 GB, free: 72 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.6952, allocations: 165.6 kB / 0.7077 GB, free: 15.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/0.6953, allocations: 65.67 kB / 0.7077 GB, free: 15.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6955, allocations: 333.9 kB / 0.7081 GB, free: 15.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001087/0.6966, allocations: 389.8 kB / 0.7084 GB, free: 15.12 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/0.6979, allocations: 0.6588 MB / 0.7091 GB, free: 14.35 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001925/0.6998, allocations: 0.8991 MB / 0.71 GB, free: 13.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.536e-06/0.6998, allocations: 0 / 0.71 GB, free: 13.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004964/0.7048, allocations: 1.438 MB / 0.7114 GB, free: 11.91 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.7049, allocations: 12.8 kB / 0.7114 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.7049, allocations: 4 kB / 0.7114 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.7059, allocations: 224.6 kB / 0.7116 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007948/0.7067, allocations: 195.7 kB / 0.7118 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009835/0.7077, allocations: 0.7319 MB / 0.7125 GB, free: 10.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002001/0.7097, allocations: 266.7 kB / 0.7128 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.7099, allocations: 47.97 kB / 0.7128 GB, free: 10.42 MB / 0.545 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.0008279/0.7107, allocations: 355.3 kB / 0.7131 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004129/0.7111, allocations: 146.1 kB / 0.7133 GB, free: 9.918 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002789/0.7139, allocations: 1.164 MB / 0.7144 GB, free: 8.762 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/0.714, allocations: 19.92 kB / 0.7144 GB, free: 8.742 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.714, allocations: 7.938 kB / 0.7144 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.714, allocations: 0 / 0.7144 GB, free: 8.734 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006148/0.7202, allocations: 2.596 MB / 0.717 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.7202, allocations: 0 / 0.717 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004002/0.7206, allocations: 83.89 kB / 0.7171 GB, free: 5.977 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008557/0.7215, allocations: 232.8 kB / 0.7173 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/0.7215, allocations: 12 kB / 0.7173 GB, free: 5.734 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.723, allocations: 0.8059 MB / 0.7181 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.723, allocations: 0 / 0.7181 GB, free: 4.902 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003815/0.7268, allocations: 1.293 MB / 0.7193 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.7281, allocations: 378.8 kB / 0.7197 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005216/0.7287, allocations: 16 kB / 0.7197 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001349/0.73, allocations: 107.8 kB / 0.7198 GB, free: 3.055 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.7302, allocations: 40.5 kB / 0.7199 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.434e-05/0.7303, allocations: 27.98 kB / 0.7199 GB, free: 2.988 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002536/0.7329, allocations: 1.078 MB / 0.7209 GB, free: 1.914 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.7e-07/0.7329, allocations: 0 / 0.7209 GB, free: 1.914 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001676/0.7345, allocations: 439.4 kB / 0.7214 GB, free: 1.484 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.001094/0.7357, allocations: 484.8 kB / 0.7218 GB, free: 1.016 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002374/0.738, allocations: 0.8719 MB / 0.7227 GB, free: 152 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.7381, allocations: 4 kB / 0.7227 GB, free: 148 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.7395, allocations: 475.5 kB / 0.7231 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004241/0.7437, allocations: 0.7062 MB / 0.7238 GB, free: 15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005621/0.7494, allocations: 2.771 MB / 0.7265 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001152/0.7506, allocations: 1.18 MB / 0.7277 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001419/0.752, allocations: 264.4 kB / 0.7279 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/0.7524, allocations: 115.4 kB / 0.728 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/0.7524, allocations: 4 kB / 0.728 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.05955/0.812, allocations: 30.45 MB / 0.7578 GB, free: 12.54 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (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 & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)