Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) 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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.006507/0.006508, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9524/0.9524, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003073/0.0003073, allocations: 9.156 kB / 0.5076 GB, free: 4.766 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1682, allocations: 82.32 MB / 0.588 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.3957/0.5639, allocations: 59.69 MB / 0.6463 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0141/0.578, allocations: 11.91 MB / 0.6579 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003641/0.5818, allocations: 53.62 kB / 0.6579 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.584, allocations: 0.5444 MB / 0.6585 GB, free: 8.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005925/0.5899, allocations: 1.803 MB / 0.6602 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003083/0.593, allocations: 1.08 MB / 0.6613 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005811/0.5988, allocations: 3.899 MB / 0.6651 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001807/0.6007, allocations: 0.8965 MB / 0.666 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003041/0.6037, allocations: 1.122 MB / 0.6671 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.6057, allocations: 0.8493 MB / 0.6679 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001785/0.6059, allocations: 40.72 kB / 0.6679 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003347/0.6092, allocations: 1.335 MB / 0.6692 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.6095, allocations: 211.1 kB / 0.6694 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009342/0.6104, allocations: 0.6258 MB / 0.6701 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004385/0.6148, allocations: 2.191 MB / 0.6722 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6148, allocations: 0 / 0.6722 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.865e-06/0.6148, allocations: 0 / 0.6722 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.158e-05/0.6149, allocations: 1.594 kB / 0.6722 GB, free: 2.312 MB / 0.4981 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.003514/0.6184, allocations: 1.485 MB / 0.6736 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.6185, allocations: 9.531 kB / 0.6737 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002839/0.6213, allocations: 471 kB / 0.6741 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.6235, allocations: 1.128 MB / 0.6752 GB, free: 500 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003988/0.6239, allocations: 128.5 kB / 0.6753 GB, free: 468 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.6241, allocations: 87.09 kB / 0.6754 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002314/0.6264, allocations: 1.004 MB / 0.6764 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.6264, allocations: 5.875 kB / 0.6764 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000106/0.6266, allocations: 31.69 kB / 0.6764 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.6266, allocations: 19.38 kB / 0.6764 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002607/0.6292, allocations: 0.9155 MB / 0.6773 GB, free: 15.65 MB / 0.5137 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.007187/0.6364, allocations: 4.896 MB / 0.6821 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003677/0.6401, allocations: 0.8967 MB / 0.683 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008127/0.6409, allocations: 321.2 kB / 0.6833 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006663/0.6416, allocations: 0.9081 MB / 0.6842 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/0.6417, allocations: 45.91 kB / 0.6842 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.895e-06/0.6417, allocations: 0 / 0.6842 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.009566/0.6512, allocations: 2.154 MB / 0.6863 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.6513, allocations: 63.7 kB / 0.6864 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/0.6531, allocations: 1.052 MB / 0.6874 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.843e-05/0.6532, allocations: 38.67 kB / 0.6875 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000444/0.6537, allocations: 0.5221 MB / 0.688 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.6538, allocations: 149.2 kB / 0.6881 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/0.6539, allocations: 52.22 kB / 0.6882 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.654, allocations: 325.2 kB / 0.6885 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009773/0.655, allocations: 323.8 kB / 0.6888 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/0.6562, allocations: 0.5369 MB / 0.6893 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/0.658, allocations: 0.7292 MB / 0.69 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.658, allocations: 1.375 kB / 0.69 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002966/0.661, allocations: 1.058 MB / 0.6911 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.6611, allocations: 215.7 kB / 0.6913 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.6611, allocations: 4.531 kB / 0.6913 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/0.6626, allocations: 326.5 kB / 0.6916 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005804/0.6632, allocations: 131 kB / 0.6917 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/0.665, allocations: 0.9484 MB / 0.6926 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001625/0.6666, allocations: 189.2 kB / 0.6928 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.6667, allocations: 29.7 kB / 0.6928 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.039e-05/0.6668, allocations: 5.812 kB / 0.6928 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002892/0.6697, allocations: 0.9182 MB / 0.6937 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.6697, allocations: 9.453 kB / 0.6937 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.6711, allocations: 325.1 kB / 0.6941 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/0.6717, allocations: 127.6 kB / 0.6942 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.6732, allocations: 0.9352 MB / 0.6951 GB, free: 5.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/0.6749, allocations: 177.4 kB / 0.6953 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.675, allocations: 27.48 kB / 0.6953 GB, free: 5.254 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (51): * Single equations (assignments): 50 * 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.0008185/0.6758, allocations: 348.4 kB / 0.6956 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/0.6762, allocations: 115.2 kB / 0.6957 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004395/0.6806, allocations: 1.196 MB / 0.6969 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/0.6806, allocations: 6.531 kB / 0.6969 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.6806, allocations: 7.938 kB / 0.6969 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.6806, allocations: 10.28 kB / 0.6969 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006071/0.6867, allocations: 2.263 MB / 0.6991 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.6868, allocations: 2.5 kB / 0.6991 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/0.6871, allocations: 69.48 kB / 0.6992 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001129/0.6882, allocations: 328.4 kB / 0.6995 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-05/0.6883, allocations: 15.33 kB / 0.6995 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.6899, allocations: 0.9688 MB / 0.7005 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.69, allocations: 2.469 kB / 0.7005 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003977/0.6939, allocations: 1.262 MB / 0.7017 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00076/0.6947, allocations: 285.5 kB / 0.702 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/0.6951, allocations: 9.344 kB / 0.702 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.6963, allocations: 110.3 kB / 0.7021 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.714e-05/0.6964, allocations: 39.64 kB / 0.7021 GB, free: 1.898 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.181e-05/0.6965, allocations: 27.73 kB / 0.7022 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001592/0.6981, allocations: 0.7384 MB / 0.7029 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.51e-07/0.6981, allocations: 4 kB / 0.7029 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002313/0.7004, allocations: 0.5592 MB / 0.7034 GB, free: 1.348 MB / 0.5137 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.001048/0.7015, allocations: 386.4 kB / 0.7038 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003425/0.7049, allocations: 1.168 MB / 0.7049 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.7049, allocations: 0 / 0.7049 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009832/0.7059, allocations: 365 kB / 0.7053 GB, free: 484 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/0.7094, allocations: 0.501 MB / 0.7058 GB, free: 224 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006103/0.7155, allocations: 2.539 MB / 0.7083 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/0.7162, allocations: 1.064 MB / 0.7093 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001097/0.7173, allocations: 216.6 kB / 0.7095 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.7176, allocations: 81.25 kB / 0.7096 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of SimCode: time 8.41e-07/0.7176, allocations: 0 / 0.7096 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of Templates: time 0.04208/0.7597, allocations: 23.9 MB / 0.7329 GB, free: 6.914 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)