Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.893/0.893, allocations: 134 MB / 438.5 MB, free: 13.7 MB / 350.1 MB " [Timeout remaining time 179] 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.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.89 kB / 0.6084 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4389, allocations: 84.67 MB / 0.691 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.07012/0.509, allocations: 62.2 MB / 0.7518 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01976/0.5287, allocations: 12.05 MB / 0.7636 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002298/0.531, allocations: 63.62 kB / 0.7636 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002623/0.5337, allocations: 0.6986 MB / 0.7643 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006989/0.5407, allocations: 2.061 MB / 0.7663 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003777/0.5444, allocations: 1.229 MB / 0.7675 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006201/0.5506, allocations: 3.091 MB / 0.7705 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002365/0.553, allocations: 0.8772 MB / 0.7714 GB, free: 3.574 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003948/0.5569, allocations: 1.37 MB / 0.7727 GB, free: 2.199 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.559, allocations: 0.9373 MB / 0.7736 GB, free: 1.258 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003599/0.5593, allocations: 112 kB / 0.7737 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00378/0.5631, allocations: 1.458 MB / 0.7752 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005711/0.5637, allocations: 298.7 kB / 0.7755 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001792/0.5655, allocations: 0.6997 MB / 0.7761 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005656/0.5711, allocations: 2.316 MB / 0.7784 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.5711, allocations: 0 / 0.7784 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.833e-06/0.5711, allocations: 0 / 0.7784 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.951e-05/0.5712, allocations: 0 / 0.7784 GB, free: 12.38 MB / 0.5919 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.00446/0.5757, allocations: 1.771 MB / 0.7801 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.5757, allocations: 8.031 kB / 0.7801 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002435/0.5781, allocations: 415.4 kB / 0.7805 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002878/0.581, allocations: 1.164 MB / 0.7817 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.339e-05/0.5811, allocations: 66 kB / 0.7817 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.5813, allocations: 80 kB / 0.7818 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.5835, allocations: 1.005 MB / 0.7828 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.5836, allocations: 3.938 kB / 0.7828 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.213e-05/0.5837, allocations: 35.98 kB / 0.7828 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.5837, allocations: 23.94 kB / 0.7828 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002431/0.5861, allocations: 0.8586 MB / 0.7837 GB, free: 6.773 MB / 0.5919 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.009082/0.5952, allocations: 5.236 MB / 0.7888 GB, free: 1.168 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003477/0.5987, allocations: 0.7598 MB / 0.7895 GB, free: 412 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007271/0.5994, allocations: 283.3 kB / 0.7898 GB, free: 128 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008881/0.6003, allocations: 0.9064 MB / 0.7907 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.372e-05/0.6003, allocations: 30.56 kB / 0.7907 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.805e-06/0.6003, allocations: 4 kB / 0.7907 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.008399/0.6087, allocations: 1.85 MB / 0.7925 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.6088, allocations: 59.41 kB / 0.7926 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.6106, allocations: 1.072 MB / 0.7936 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.204e-05/0.6107, allocations: 37.7 kB / 0.7937 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00051/0.6112, allocations: 0.5359 MB / 0.7942 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.6114, allocations: 166.6 kB / 0.7944 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002567/0.6116, allocations: 138.2 kB / 0.7945 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.6118, allocations: 330 kB / 0.7948 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008906/0.6127, allocations: 303.3 kB / 0.7951 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.6138, allocations: 0.5346 MB / 0.7956 GB, free: 9.785 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001709/0.6155, allocations: 0.7252 MB / 0.7963 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.6155, allocations: 4 kB / 0.7963 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002798/0.6183, allocations: 1.008 MB / 0.7973 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.6183, allocations: 8 kB / 0.7973 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.6183, allocations: 4 kB / 0.7973 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.6196, allocations: 312.2 kB / 0.7976 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/0.6202, allocations: 127.8 kB / 0.7977 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001561/0.6217, allocations: 0.8996 MB / 0.7986 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.623, allocations: 155.4 kB / 0.7988 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.331e-05/0.6231, allocations: 31.98 kB / 0.7988 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001277/0.6244, allocations: 0.5129 MB / 0.7993 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001122/0.6255, allocations: 0.5346 MB / 0.7998 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001662/0.6272, allocations: 0.7064 MB / 0.8005 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.065e-06/0.6272, allocations: 0 / 0.8005 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002755/0.6299, allocations: 1.001 MB / 0.8015 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.6299, allocations: 8 kB / 0.8015 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.63, allocations: 11.98 kB / 0.8015 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.631, allocations: 288.8 kB / 0.8018 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/0.6316, allocations: 131.8 kB / 0.8019 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001458/0.6331, allocations: 0.8997 MB / 0.8028 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.6343, allocations: 139.7 kB / 0.8029 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.225e-05/0.6343, allocations: 35.92 kB / 0.803 GB, free: 1.941 MB / 0.6075 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 (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.0002444/0.6346, allocations: 216.1 kB / 0.8032 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.6348, allocations: 119.2 kB / 0.8033 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003769/0.6386, allocations: 1.078 MB / 0.8043 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.6386, allocations: 7.984 kB / 0.8043 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.6386, allocations: 0 / 0.8043 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.6386, allocations: 3.938 kB / 0.8043 GB, free: 0.4922 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005289/0.6439, allocations: 2.144 MB / 0.8064 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.6439, allocations: 8.031 kB / 0.8064 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.6442, allocations: 63.89 kB / 0.8065 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009744/0.6451, allocations: 288.5 kB / 0.8068 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.496e-05/0.6452, allocations: 19.98 kB / 0.8068 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/0.6467, allocations: 0.923 MB / 0.8077 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.704e-06/0.6467, allocations: 7.969 kB / 0.8077 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003597/0.6503, allocations: 1.141 MB / 0.8088 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005117/0.6508, allocations: 280.1 kB / 0.8091 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.651, allocations: 15.98 kB / 0.8091 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007825/0.6517, allocations: 63.92 kB / 0.8092 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-05/0.6518, allocations: 43.83 kB / 0.8092 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.6519, allocations: 23.98 kB / 0.8092 GB, free: 11.31 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001288/0.6532, allocations: 0.755 MB / 0.81 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6532, allocations: 0 / 0.81 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001543/0.6547, allocations: 0.5731 MB / 0.8105 GB, free: 9.977 MB / 0.6231 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007729/0.6555, allocations: 395.7 kB / 0.8109 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00311/0.6586, allocations: 1.085 MB / 0.812 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6586, allocations: 0 / 0.812 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008465/0.6595, allocations: 330.8 kB / 0.8123 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.6616, allocations: 0.4991 MB / 0.8128 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005514/0.6671, allocations: 2.053 MB / 0.8148 GB, free: 5.598 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008212/0.6679, allocations: 1.065 MB / 0.8158 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009186/0.6688, allocations: 224.2 kB / 0.816 GB, free: 4.285 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.669, allocations: 79.36 kB / 0.8161 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of SimCode: time 8.91e-07/0.669, allocations: 0 / 0.8161 GB, free: 4.207 MB / 0.6231 GB Notification: Performance of Templates: time 0.04399/0.713, allocations: 25.56 MB / 0.8411 GB, free: 10.95 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.778644923120737]