Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001164, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.001122/0.001122, allocations: 187 kB / 17.34 MB, free: 5.742 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.33/1.33, allocations: 222.9 MB / 241 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.8321/0.8321, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 63.5 kB / 0.5863 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1636, allocations: 80.92 MB / 0.6653 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06571/0.2294, allocations: 61.24 MB / 0.7251 GB, free: 8.289 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01732/0.2467, allocations: 11.99 MB / 0.7368 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002685/0.2495, allocations: 63.62 kB / 0.7369 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002441/0.252, allocations: 0.6791 MB / 0.7376 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006595/0.2586, allocations: 1.967 MB / 0.7395 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003636/0.2622, allocations: 1.212 MB / 0.7407 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004967/0.2672, allocations: 3.098 MB / 0.7437 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002042/0.2693, allocations: 1.112 MB / 0.7448 GB, free: 4.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003774/0.2731, allocations: 1.371 MB / 0.7461 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001886/0.275, allocations: 0.91 MB / 0.747 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004113/0.2754, allocations: 116 kB / 0.7471 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003338/0.2788, allocations: 1.431 MB / 0.7485 GB, free: 260 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.4515/0.7303, allocations: 301.3 kB / 0.7488 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001821/0.7322, allocations: 0.6951 MB / 0.7495 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006019/0.7382, allocations: 2.322 MB / 0.7517 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.7382, allocations: 0 / 0.7517 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.078e-06/0.7383, allocations: 1.375 kB / 0.7518 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.999e-05/0.7383, allocations: 0 / 0.7518 GB, free: 23.22 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.004738/0.7431, allocations: 1.746 MB / 0.7535 GB, free: 22.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.7431, allocations: 9.797 kB / 0.7535 GB, free: 22.36 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002538/0.7457, allocations: 410.2 kB / 0.7539 GB, free: 22.29 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002883/0.7486, allocations: 1.167 MB / 0.755 GB, free: 21.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.909e-05/0.7487, allocations: 61.72 kB / 0.7551 GB, free: 21.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.7488, allocations: 86.94 kB / 0.7551 GB, free: 21.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.7514, allocations: 1.015 MB / 0.7561 GB, free: 21.72 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.7515, allocations: 5.469 kB / 0.7561 GB, free: 21.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.64e-05/0.7516, allocations: 35.69 kB / 0.7562 GB, free: 21.72 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.7516, allocations: 22.91 kB / 0.7562 GB, free: 21.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002639/0.7542, allocations: 0.8819 MB / 0.7571 GB, free: 21.7 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.008251/0.7625, allocations: 5.239 MB / 0.7622 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003974/0.7665, allocations: 0.7833 MB / 0.7629 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009167/0.7675, allocations: 311.1 kB / 0.7632 GB, free: 18.55 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005674/0.768, allocations: 0.9003 MB / 0.7641 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.7681, allocations: 44.25 kB / 0.7642 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.905e-06/0.7681, allocations: 0 / 0.7642 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.00939/0.7775, allocations: 1.904 MB / 0.766 GB, free: 17.21 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.7775, allocations: 56.59 kB / 0.7661 GB, free: 17.15 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.7795, allocations: 1.077 MB / 0.7671 GB, free: 17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.7797, allocations: 36.86 kB / 0.7672 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004425/0.7802, allocations: 0.54 MB / 0.7677 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.7803, allocations: 151.2 kB / 0.7678 GB, free: 16.67 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.7806, allocations: 139.9 kB / 0.768 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.698e-05/0.7807, allocations: 334 kB / 0.7683 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009394/0.7816, allocations: 321.6 kB / 0.7686 GB, free: 16.33 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.7828, allocations: 0.5522 MB / 0.7691 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001766/0.7846, allocations: 0.7455 MB / 0.7698 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.7846, allocations: 2.281 kB / 0.7699 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004087/0.7887, allocations: 1.172 MB / 0.771 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.7887, allocations: 7.75 kB / 0.771 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.726e-05/0.7888, allocations: 4.656 kB / 0.771 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.79, allocations: 309.5 kB / 0.7713 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006412/0.7907, allocations: 139.9 kB / 0.7714 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.7921, allocations: 0.9005 MB / 0.7723 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.7937, allocations: 161.4 kB / 0.7725 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.506e-05/0.7938, allocations: 30.94 kB / 0.7725 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001505/0.7953, allocations: 0.5225 MB / 0.773 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001104/0.7964, allocations: 0.5469 MB / 0.7735 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001738/0.7982, allocations: 0.7407 MB / 0.7743 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.344e-06/0.7982, allocations: 4.828 kB / 0.7743 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003903/0.8021, allocations: 1.158 MB / 0.7754 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.8021, allocations: 8.75 kB / 0.7754 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.8022, allocations: 10.09 kB / 0.7754 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.8033, allocations: 299 kB / 0.7757 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005796/0.8039, allocations: 136.9 kB / 0.7758 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.8052, allocations: 0.895 MB / 0.7767 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.8068, allocations: 151.8 kB / 0.7769 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.569e-05/0.8069, allocations: 30.03 kB / 0.7769 GB, free: 13.82 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0002922/0.8072, allocations: 214.6 kB / 0.7771 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002247/0.8074, allocations: 118.9 kB / 0.7772 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003976/0.8114, allocations: 1.124 MB / 0.7783 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.082e-05/0.8115, allocations: 5.469 kB / 0.7783 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.8115, allocations: 0 / 0.7783 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/0.8115, allocations: 7.797 kB / 0.7783 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005617/0.8171, allocations: 2.2 MB / 0.7805 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.8172, allocations: 5.812 kB / 0.7805 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.8175, allocations: 70.52 kB / 0.7805 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001006/0.8185, allocations: 302.3 kB / 0.7808 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.326e-05/0.8185, allocations: 19.91 kB / 0.7808 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001355/0.8199, allocations: 0.9233 MB / 0.7817 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8199, allocations: 3 kB / 0.7817 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003879/0.8238, allocations: 1.19 MB / 0.7829 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006613/0.8245, allocations: 272.9 kB / 0.7832 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.8247, allocations: 14.66 kB / 0.7832 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008375/0.8255, allocations: 74.2 kB / 0.7833 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.412e-05/0.8256, allocations: 40.73 kB / 0.7833 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/0.8257, allocations: 24.66 kB / 0.7833 GB, free: 12 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001276/0.827, allocations: 0.7574 MB / 0.7841 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.827, allocations: 0 / 0.7841 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001958/0.8289, allocations: 0.5752 MB / 0.7846 GB, free: 11.8 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.000954/0.8299, allocations: 387.5 kB / 0.785 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003408/0.8333, allocations: 1.173 MB / 0.7861 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.8333, allocations: 4.188 kB / 0.7861 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000886/0.8342, allocations: 362.3 kB / 0.7865 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002473/0.8367, allocations: 0.5158 MB / 0.787 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005041/0.8418, allocations: 2.063 MB / 0.789 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004502/0.8423, allocations: 1.064 MB / 0.79 GB, free: 10 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/0.8426, allocations: 83.16 kB / 0.7901 GB, free: 10 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.8426, allocations: 2.438 kB / 0.7901 GB, free: 10 MB / 0.5762 GB Notification: Performance of Templates: time 0.0316/0.8742, allocations: 24.4 MB / 0.8139 GB, free: 10.32 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)