Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00617/0.00617, allocations: 99.64 kB / 15.73 MB, free: 6.047 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.001407/0.001407, allocations: 193.9 kB / 16.67 MB, free: 5.965 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8413/0.8413, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.59 kB / 0.5856 GB, free: 21.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1737, allocations: 80.92 MB / 0.6647 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05698/0.2307, allocations: 61.19 MB / 0.7244 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01878/0.2495, allocations: 11.98 MB / 0.7361 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00286/0.2524, allocations: 63.62 kB / 0.7362 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003345/0.2559, allocations: 0.6792 MB / 0.7368 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008/0.2639, allocations: 1.963 MB / 0.7388 GB, free: 9.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004169/0.2681, allocations: 1.198 MB / 0.7399 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005654/0.2738, allocations: 3.086 MB / 0.7429 GB, free: 5.367 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/0.276, allocations: 1.111 MB / 0.744 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003921/0.2799, allocations: 1.337 MB / 0.7453 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002089/0.282, allocations: 0.8923 MB / 0.7462 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004273/0.2825, allocations: 116 kB / 0.7463 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003683/0.2862, allocations: 1.462 MB / 0.7477 GB, free: 424 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004737/0.2867, allocations: 298.8 kB / 0.748 GB, free: 124 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.4013/0.688, allocations: 0.6818 MB / 0.7487 GB, free: 23.31 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004963/0.693, allocations: 2.331 MB / 0.751 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.693, allocations: 1.438 kB / 0.751 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.412e-06/0.693, allocations: 0 / 0.751 GB, free: 23.17 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.471e-05/0.6931, allocations: 1.375 kB / 0.751 GB, free: 23.17 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.003336/0.6964, allocations: 1.774 MB / 0.7527 GB, free: 22.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.6965, allocations: 10.27 kB / 0.7527 GB, free: 22.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.6981, allocations: 354.1 kB / 0.7531 GB, free: 22.13 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002113/0.7003, allocations: 1.165 MB / 0.7542 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.168e-05/0.7003, allocations: 64.69 kB / 0.7543 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.7005, allocations: 79.03 kB / 0.7543 GB, free: 21.75 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.7025, allocations: 0.9712 MB / 0.7553 GB, free: 21.55 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.7025, allocations: 4.094 kB / 0.7553 GB, free: 21.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.827e-05/0.7026, allocations: 31.06 kB / 0.7553 GB, free: 21.55 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.7026, allocations: 21.48 kB / 0.7553 GB, free: 21.55 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.7047, allocations: 0.8046 MB / 0.7561 GB, free: 21.54 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.006209/0.7109, allocations: 5.143 MB / 0.7611 GB, free: 18.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.7126, allocations: 0.5598 MB / 0.7617 GB, free: 18.39 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007454/0.7133, allocations: 262.3 kB / 0.7619 GB, free: 18.38 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.7145, allocations: 1.367 MB / 0.7633 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.7146, allocations: 40.61 kB / 0.7633 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.255e-06/0.7146, allocations: 0 / 0.7633 GB, free: 16.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008048/0.7226, allocations: 1.769 MB / 0.765 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.7227, allocations: 59.83 kB / 0.7651 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.7244, allocations: 1.075 MB / 0.7661 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.661e-05/0.7245, allocations: 37.64 kB / 0.7662 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.7249, allocations: 0.537 MB / 0.7667 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.725, allocations: 160.2 kB / 0.7669 GB, free: 16.02 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.7252, allocations: 143.8 kB / 0.767 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.325e-05/0.7253, allocations: 326.5 kB / 0.7673 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000706/0.726, allocations: 273.3 kB / 0.7676 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000835/0.7268, allocations: 0.4992 MB / 0.7681 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.7281, allocations: 0.6539 MB / 0.7687 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.7281, allocations: 1.219 kB / 0.7687 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002347/0.7305, allocations: 0.961 MB / 0.7696 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.7305, allocations: 6.719 kB / 0.7696 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.7305, allocations: 4.938 kB / 0.7696 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.7318, allocations: 310.7 kB / 0.7699 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.7322, allocations: 120.6 kB / 0.7701 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.7335, allocations: 0.8989 MB / 0.7709 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.7348, allocations: 146.5 kB / 0.7711 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.31e-05/0.7348, allocations: 36.55 kB / 0.7711 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001069/0.7359, allocations: 490.7 kB / 0.7716 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008059/0.7367, allocations: 0.4969 MB / 0.7721 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00123/0.738, allocations: 0.6535 MB / 0.7727 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.547e-06/0.738, allocations: 1.406 kB / 0.7727 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002218/0.7402, allocations: 0.9485 MB / 0.7736 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.7402, allocations: 9.328 kB / 0.7736 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.7403, allocations: 5.469 kB / 0.7736 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.7413, allocations: 287.8 kB / 0.7739 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.7418, allocations: 119.8 kB / 0.774 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00129/0.7431, allocations: 0.9004 MB / 0.7749 GB, free: 13.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.7443, allocations: 129 kB / 0.775 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-05/0.7444, allocations: 33.19 kB / 0.7751 GB, free: 13.23 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0001965/0.7446, allocations: 225.3 kB / 0.7753 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/0.7448, allocations: 120.8 kB / 0.7754 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00342/0.7482, allocations: 1.045 MB / 0.7764 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.7482, allocations: 11.05 kB / 0.7764 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.7483, allocations: 7.031 kB / 0.7764 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.7483, allocations: 0 / 0.7764 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004975/0.7532, allocations: 2.056 MB / 0.7784 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.7533, allocations: 6.875 kB / 0.7784 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000211/0.7535, allocations: 55.97 kB / 0.7785 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.7545, allocations: 301.8 kB / 0.7788 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.7546, allocations: 9.125 kB / 0.7788 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001294/0.7559, allocations: 0.9329 MB / 0.7797 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.7559, allocations: 2.562 kB / 0.7797 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003334/0.7592, allocations: 1.106 MB / 0.7808 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006515/0.7599, allocations: 262.4 kB / 0.781 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003295/0.7602, allocations: 10.62 kB / 0.781 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009192/0.7612, allocations: 70.5 kB / 0.7811 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.7612, allocations: 33.64 kB / 0.7811 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-05/0.7613, allocations: 22.22 kB / 0.7812 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001488/0.7628, allocations: 0.7525 MB / 0.7819 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.5e-07/0.7628, allocations: 1.031 kB / 0.7819 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002271/0.7651, allocations: 0.5864 MB / 0.7825 GB, free: 11.21 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 (33): * Single equations (assignments): 28 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009816/0.7661, allocations: 414.1 kB / 0.7829 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002741/0.7688, allocations: 1.024 MB / 0.7839 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.7689, allocations: 1.375 kB / 0.7839 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007402/0.7696, allocations: 321.1 kB / 0.7842 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00236/0.772, allocations: 0.5102 MB / 0.7847 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/0.7752, allocations: 1.827 MB / 0.7865 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005206/0.7757, allocations: 1.068 MB / 0.7875 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008462/0.7766, allocations: 220.8 kB / 0.7877 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.7768, allocations: 82.36 kB / 0.7878 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.7768, allocations: 0 / 0.7878 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of Templates: time 0.0347/0.8115, allocations: 25.3 MB / 0.8125 GB, free: 10.52 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)