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.005673/0.005673, allocations: 103.6 kB / 15.73 MB, free: 6.051 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.001241/0.001242, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.789/0.789, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 66.47 kB / 0.5813 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1924, allocations: 80.21 MB / 0.6597 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06921/0.2617, allocations: 70.44 MB / 0.7285 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02372/0.2855, allocations: 18.91 MB / 0.7469 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003493/0.289, allocations: 67.62 kB / 0.747 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.2915, allocations: 0.8385 MB / 0.7478 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007968/0.2995, allocations: 3.004 MB / 0.7507 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004077/0.3036, allocations: 1.653 MB / 0.7524 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005573/0.3092, allocations: 4.058 MB / 0.7563 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002001/0.3112, allocations: 1.457 MB / 0.7577 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004182/0.3154, allocations: 1.822 MB / 0.7595 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001809/0.3172, allocations: 1.175 MB / 0.7607 GB, free: 5.723 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002441/0.3175, allocations: 176 kB / 0.7608 GB, free: 5.551 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002856/0.3203, allocations: 1.416 MB / 0.7622 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003569/0.3207, allocations: 394.5 kB / 0.7626 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009861/0.3217, allocations: 0.9138 MB / 0.7635 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003997/0.3257, allocations: 3.116 MB / 0.7665 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.3257, allocations: 0 / 0.7665 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3257, allocations: 0 / 0.7665 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.328e-05/0.3258, allocations: 0 / 0.7665 GB, free: 15.7 MB / 0.6075 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.003404/0.3292, allocations: 2.038 MB / 0.7685 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.3292, allocations: 8.031 kB / 0.7685 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/0.3316, allocations: 445.7 kB / 0.769 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.3341, allocations: 1.551 MB / 0.7705 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.827e-05/0.3342, allocations: 82.03 kB / 0.7705 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.3344, allocations: 100 kB / 0.7706 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.337, allocations: 1.314 MB / 0.7719 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/0.337, allocations: 3.938 kB / 0.7719 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/0.3371, allocations: 48 kB / 0.772 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.278e-05/0.3371, allocations: 27.94 kB / 0.772 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002641/0.3398, allocations: 1.097 MB / 0.7731 GB, free: 8.77 MB / 0.6075 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.009548/0.3494, allocations: 7.497 MB / 0.7804 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003222/0.3526, allocations: 0.8074 MB / 0.7812 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006436/0.3533, allocations: 293.9 kB / 0.7815 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00146/0.3547, allocations: 1.718 MB / 0.7831 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.3548, allocations: 43 kB / 0.7832 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=48): time 2.555e-06/0.3548, allocations: 0 / 0.7832 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.005089/0.3599, allocations: 1.33 MB / 0.7845 GB, free: 12.14 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.195e-05/0.36, allocations: 55.84 kB / 0.7845 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/0.3626, allocations: 1.545 MB / 0.786 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.3627, allocations: 37.7 kB / 0.7861 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006401/0.3634, allocations: 0.6691 MB / 0.7867 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002021/0.3636, allocations: 173.6 kB / 0.7869 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002916/0.3639, allocations: 174.5 kB / 0.7871 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.364, allocations: 337.9 kB / 0.7874 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009774/0.365, allocations: 365.8 kB / 0.7877 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001278/0.3663, allocations: 0.6546 MB / 0.7884 GB, free: 7.973 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/0.3682, allocations: 0.8907 MB / 0.7892 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.3682, allocations: 7.984 kB / 0.7893 GB, free: 6.969 MB / 0.6231 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00322/0.3714, allocations: 1.186 MB / 0.7904 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.3715, allocations: 12.03 kB / 0.7904 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.3715, allocations: 8 kB / 0.7904 GB, free: 5.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.3725, allocations: 220.6 kB / 0.7906 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007628/0.3733, allocations: 195.7 kB / 0.7908 GB, free: 5.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008621/0.3742, allocations: 0.72 MB / 0.7915 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/0.3758, allocations: 214.7 kB / 0.7917 GB, free: 4.383 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.3759, allocations: 43.98 kB / 0.7918 GB, free: 4.34 MB / 0.6231 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.000651/0.3766, allocations: 361.5 kB / 0.7921 GB, free: 3.977 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002411/0.3768, allocations: 154.1 kB / 0.7923 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.3793, allocations: 1.131 MB / 0.7934 GB, free: 2.703 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.3793, allocations: 12 kB / 0.7934 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.3793, allocations: 0 / 0.7934 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.3793, allocations: 3.984 kB / 0.7934 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005365/0.3847, allocations: 2.526 MB / 0.7959 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.3847, allocations: 3.938 kB / 0.7959 GB, free: 80 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003845/0.3851, allocations: 83.92 kB / 0.7959 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007348/0.3859, allocations: 216.7 kB / 0.7961 GB, free: 15.78 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.3859, allocations: 16 kB / 0.7962 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001318/0.3872, allocations: 0.7709 MB / 0.7969 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3872, allocations: 0 / 0.7969 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003352/0.3906, allocations: 1.207 MB / 0.7981 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005613/0.3912, allocations: 350.9 kB / 0.7984 GB, free: 13.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.3914, allocations: 19.98 kB / 0.7984 GB, free: 13.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008874/0.3923, allocations: 71.91 kB / 0.7985 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.3924, allocations: 44.45 kB / 0.7986 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.637e-05/0.3924, allocations: 23.98 kB / 0.7986 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001716/0.3942, allocations: 1.086 MB / 0.7996 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3942, allocations: 0 / 0.7996 GB, free: 12.12 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001368/0.3955, allocations: 447.4 kB / 0.8001 GB, free: 11.68 MB / 0.6387 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.0009151/0.3965, allocations: 475.8 kB / 0.8005 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002173/0.3987, allocations: 0.8563 MB / 0.8014 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3987, allocations: 4 kB / 0.8014 GB, free: 10.37 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.4, allocations: 435.6 kB / 0.8018 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003053/0.403, allocations: 0.734 MB / 0.8025 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003672/0.4067, allocations: 2.249 MB / 0.8047 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007114/0.4074, allocations: 1.172 MB / 0.8058 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008709/0.4083, allocations: 266.4 kB / 0.8061 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.4086, allocations: 123.3 kB / 0.8062 GB, free: 5.371 MB / 0.6387 GB Notification: Performance of SimCode: time 2.6e-07/0.4086, allocations: 3.938 kB / 0.8062 GB, free: 5.367 MB / 0.6387 GB Notification: Performance of Templates: time 0.4376/0.8462, allocations: 31.73 MB / 0.8372 GB, free: 136.8 MB / 0.6387 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)