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.008175/0.008175, allocations: 99.73 kB / 15.73 MB, free: 6.043 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.001643/0.001643, allocations: 194.5 kB / 16.68 MB, free: 5.961 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.785/0.785, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.02 kB / 0.5856 GB, free: 21.51 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.164, allocations: 80.93 MB / 0.6646 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.0577/0.2217, allocations: 61.17 MB / 0.7244 GB, free: 8.398 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01757/0.2393, allocations: 11.97 MB / 0.7361 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.2418, allocations: 59.62 kB / 0.7361 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0021/0.2439, allocations: 0.7026 MB / 0.7368 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005697/0.2497, allocations: 2.064 MB / 0.7388 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003356/0.253, allocations: 1.205 MB / 0.74 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004526/0.2576, allocations: 3.09 MB / 0.743 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002589/0.2602, allocations: 1.092 MB / 0.7441 GB, free: 4.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004074/0.2643, allocations: 1.383 MB / 0.7454 GB, free: 2.754 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001964/0.2663, allocations: 0.8945 MB / 0.7463 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003881/0.2667, allocations: 116 kB / 0.7464 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003252/0.2699, allocations: 1.47 MB / 0.7479 GB, free: 276 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.361/0.6309, allocations: 297.6 kB / 0.7482 GB, free: 23.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001845/0.6328, allocations: 0.6925 MB / 0.7488 GB, free: 23.29 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004609/0.6374, allocations: 2.336 MB / 0.7511 GB, free: 23.24 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.6375, allocations: 1.656 kB / 0.7511 GB, free: 23.24 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6375, allocations: 2.406 kB / 0.7511 GB, free: 23.24 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.721e-05/0.6375, allocations: 0 / 0.7511 GB, free: 23.24 MB / 0.5762 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.003349/0.6409, allocations: 1.733 MB / 0.7528 GB, free: 22.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.6409, allocations: 13.48 kB / 0.7528 GB, free: 22.38 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.6426, allocations: 341.2 kB / 0.7531 GB, free: 22.31 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002101/0.6447, allocations: 1.163 MB / 0.7543 GB, free: 21.93 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.472e-05/0.6448, allocations: 65 kB / 0.7543 GB, free: 21.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.6449, allocations: 76.62 kB / 0.7544 GB, free: 21.93 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002072/0.647, allocations: 0.9744 MB / 0.7554 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.647, allocations: 1.25 kB / 0.7554 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-05/0.6471, allocations: 33.19 kB / 0.7554 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/0.6471, allocations: 23.44 kB / 0.7554 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001942/0.6491, allocations: 0.8013 MB / 0.7562 GB, free: 21.72 MB / 0.5762 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.006884/0.656, allocations: 5.14 MB / 0.7612 GB, free: 18.62 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001666/0.6576, allocations: 0.5651 MB / 0.7618 GB, free: 18.59 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006742/0.6583, allocations: 270.8 kB / 0.762 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001208/0.6595, allocations: 1.365 MB / 0.7634 GB, free: 17.07 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.6596, allocations: 40.84 kB / 0.7634 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 3.136e-06/0.6596, allocations: 0.6562 kB / 0.7634 GB, free: 17.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.005485/0.6651, allocations: 1.49 MB / 0.7649 GB, free: 16.78 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.564e-05/0.6651, allocations: 56.73 kB / 0.7649 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.6667, allocations: 1.08 MB / 0.766 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.338e-05/0.6668, allocations: 40.3 kB / 0.766 GB, free: 16.53 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003691/0.6672, allocations: 0.5254 MB / 0.7665 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.6673, allocations: 159.4 kB / 0.7667 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.6675, allocations: 133.1 kB / 0.7668 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.197e-05/0.6676, allocations: 330.6 kB / 0.7671 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006695/0.6682, allocations: 280.4 kB / 0.7674 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007732/0.669, allocations: 497.8 kB / 0.7679 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.6702, allocations: 0.6553 MB / 0.7685 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.6703, allocations: 3.594 kB / 0.7685 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002175/0.6724, allocations: 0.949 MB / 0.7694 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.6725, allocations: 10.97 kB / 0.7694 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.6725, allocations: 8.469 kB / 0.7694 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/0.6737, allocations: 315 kB / 0.7697 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.6742, allocations: 121.5 kB / 0.7699 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.6754, allocations: 0.8995 MB / 0.7707 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.6765, allocations: 144.3 kB / 0.7709 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/0.6766, allocations: 31.09 kB / 0.7709 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00103/0.6776, allocations: 490.3 kB / 0.7714 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007389/0.6784, allocations: 498.2 kB / 0.7719 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001176/0.6796, allocations: 0.6479 MB / 0.7725 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.439e-06/0.6796, allocations: 1.156 kB / 0.7725 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002228/0.6818, allocations: 0.9436 MB / 0.7734 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.6819, allocations: 8.125 kB / 0.7734 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.6819, allocations: 4.156 kB / 0.7734 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009892/0.6829, allocations: 297.1 kB / 0.7737 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.6833, allocations: 116.9 kB / 0.7738 GB, free: 14.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001092/0.6844, allocations: 0.9023 MB / 0.7747 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/0.6857, allocations: 123.5 kB / 0.7748 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.463e-05/0.6858, allocations: 31.12 kB / 0.7748 GB, free: 13.52 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (57): * Single equations (assignments): 56 * 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.0002556/0.686, allocations: 220.4 kB / 0.7751 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002064/0.6862, allocations: 112.5 kB / 0.7752 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002009/0.6883, allocations: 0.8993 MB / 0.776 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.6883, allocations: 10.62 kB / 0.776 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6883, allocations: 2.734 kB / 0.7761 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.6883, allocations: 4.078 kB / 0.7761 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00499/0.6933, allocations: 2.197 MB / 0.7782 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.6933, allocations: 4.594 kB / 0.7782 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.6935, allocations: 54.5 kB / 0.7783 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008918/0.6944, allocations: 292.2 kB / 0.7785 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.6945, allocations: 20.78 kB / 0.7786 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.6957, allocations: 0.9284 MB / 0.7795 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.6957, allocations: 6.125 kB / 0.7795 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003576/0.6993, allocations: 1.232 MB / 0.7807 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005188/0.6998, allocations: 262 kB / 0.7809 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.7, allocations: 12.91 kB / 0.7809 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006857/0.7007, allocations: 64.97 kB / 0.781 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.7008, allocations: 40.19 kB / 0.781 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.029e-05/0.7008, allocations: 24.58 kB / 0.7811 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001246/0.7021, allocations: 0.7557 MB / 0.7818 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7021, allocations: 0 / 0.7818 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00179/0.7039, allocations: 0.578 MB / 0.7824 GB, free: 11.5 MB / 0.5762 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.000859/0.7047, allocations: 414.2 kB / 0.7828 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002881/0.7076, allocations: 1.034 MB / 0.7838 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.7077, allocations: 1.062 kB / 0.7838 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007664/0.7084, allocations: 319.1 kB / 0.7841 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002626/0.7111, allocations: 0.511 MB / 0.7846 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.7148, allocations: 1.834 MB / 0.7864 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.7153, allocations: 1.069 MB / 0.7874 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009737/0.7163, allocations: 228.3 kB / 0.7876 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.7164, allocations: 73.12 kB / 0.7877 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of SimCode: time 8.72e-07/0.7164, allocations: 0 / 0.7877 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of Templates: time 0.04046/0.7569, allocations: 25.36 MB / 0.8125 GB, free: 10.87 MB / 0.5919 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)