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.0011/0.0011, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001148/0.001148, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.3 MB / 240 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9315/0.9315, allocations: 135.3 MB / 426.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003374, allocations: 8.781 kB / 0.507 GB, free: 5.18 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1705, allocations: 82.31 MB / 0.5874 GB, free: 3.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.3466/0.5171, allocations: 56.45 MB / 0.6425 GB, free: 20.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01225/0.5294, allocations: 11.22 MB / 0.6535 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.5316, allocations: 48 kB / 0.6535 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.5332, allocations: 465.7 kB / 0.6539 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00483/0.5381, allocations: 1.521 MB / 0.6554 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002485/0.5406, allocations: 0.8552 MB / 0.6563 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003901/0.5445, allocations: 3.381 MB / 0.6596 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.5458, allocations: 0.794 MB / 0.6603 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002142/0.5479, allocations: 1.048 MB / 0.6614 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001576/0.5495, allocations: 0.7977 MB / 0.6621 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.5497, allocations: 42.06 kB / 0.6622 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002856/0.5525, allocations: 1.093 MB / 0.6633 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002522/0.5528, allocations: 204.1 kB / 0.6634 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004878/0.5533, allocations: 282.5 kB / 0.6637 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00273/0.556, allocations: 1.624 MB / 0.6653 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.556, allocations: 3.938 kB / 0.6653 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.324e-06/0.5561, allocations: 0.625 kB / 0.6653 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.972e-05/0.5561, allocations: 0 / 0.6653 GB, free: 7.348 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.002778/0.5589, allocations: 1.498 MB / 0.6668 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.5589, allocations: 13.09 kB / 0.6668 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002196/0.5611, allocations: 468.8 kB / 0.6672 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002193/0.5633, allocations: 1.094 MB / 0.6683 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003593/0.5637, allocations: 132 kB / 0.6684 GB, free: 5.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.5638, allocations: 83.5 kB / 0.6685 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/0.566, allocations: 0.9982 MB / 0.6695 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.566, allocations: 1.594 kB / 0.6695 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.765e-05/0.5661, allocations: 31.84 kB / 0.6695 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.5661, allocations: 19.59 kB / 0.6695 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002367/0.5685, allocations: 0.9144 MB / 0.6704 GB, free: 4.719 MB / 0.4981 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.006203/0.5747, allocations: 4.888 MB / 0.6752 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003114/0.5778, allocations: 0.9009 MB / 0.6761 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007277/0.5786, allocations: 322.3 kB / 0.6764 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005563/0.5792, allocations: 0.9082 MB / 0.6773 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.5792, allocations: 37.86 kB / 0.6773 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.114e-06/0.5792, allocations: 0 / 0.6773 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008114/0.5873, allocations: 2.15 MB / 0.6794 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.583e-05/0.5874, allocations: 56.41 kB / 0.6795 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/0.5891, allocations: 1.043 MB / 0.6805 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.099e-05/0.5892, allocations: 37.45 kB / 0.6805 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004754/0.5897, allocations: 0.5184 MB / 0.681 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.5899, allocations: 154 kB / 0.6812 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.659e-05/0.5899, allocations: 9.25 kB / 0.6812 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5901, allocations: 329.7 kB / 0.6815 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009008/0.591, allocations: 320.5 kB / 0.6818 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.5921, allocations: 0.53 MB / 0.6823 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009008/0.593, allocations: 351.2 kB / 0.6826 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.593, allocations: 1.562 kB / 0.6826 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003655/0.5967, allocations: 1.228 MB / 0.6838 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001404/0.5968, allocations: 207.1 kB / 0.684 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.5968, allocations: 5.031 kB / 0.684 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.5981, allocations: 338.2 kB / 0.6844 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.5987, allocations: 122.1 kB / 0.6845 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.6001, allocations: 0.9435 MB / 0.6854 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.6016, allocations: 201.5 kB / 0.6856 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.218e-05/0.6017, allocations: 29.39 kB / 0.6856 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.6017, allocations: 3.906 kB / 0.6856 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00325/0.605, allocations: 1.069 MB / 0.6867 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.605, allocations: 4.344 kB / 0.6867 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.6061, allocations: 329 kB / 0.687 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000525/0.6067, allocations: 129.8 kB / 0.6871 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.6081, allocations: 0.9376 MB / 0.688 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.6096, allocations: 174 kB / 0.6882 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.712e-05/0.6097, allocations: 28.27 kB / 0.6882 GB, free: 10.57 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.000751/0.6104, allocations: 353.2 kB / 0.6886 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001945/0.6107, allocations: 107.1 kB / 0.6887 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003567/0.6142, allocations: 1.21 MB / 0.6898 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.6142, allocations: 4.781 kB / 0.6899 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.6143, allocations: 0 / 0.6899 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.6143, allocations: 4.594 kB / 0.6899 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005155/0.6194, allocations: 2.251 MB / 0.6921 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.6195, allocations: 2.5 kB / 0.6921 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.6198, allocations: 64.09 kB / 0.6921 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.6208, allocations: 332.5 kB / 0.6924 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.179e-05/0.6208, allocations: 15.34 kB / 0.6925 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.6223, allocations: 0.9657 MB / 0.6934 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.6223, allocations: 3.344 kB / 0.6934 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003738/0.626, allocations: 1.257 MB / 0.6946 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007346/0.6268, allocations: 287.4 kB / 0.6949 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.6269, allocations: 9.031 kB / 0.6949 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008795/0.6278, allocations: 118.9 kB / 0.695 GB, free: 7.289 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/0.6279, allocations: 35.83 kB / 0.6951 GB, free: 7.281 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/0.628, allocations: 23.31 kB / 0.6951 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001302/0.6293, allocations: 0.7333 MB / 0.6958 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6293, allocations: 1.125 kB / 0.6958 GB, free: 6.965 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002191/0.6315, allocations: 0.5583 MB / 0.6963 GB, free: 6.852 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007805/0.6323, allocations: 358.9 kB / 0.6967 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003175/0.6355, allocations: 1.167 MB / 0.6978 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.6355, allocations: 1.25 kB / 0.6978 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008766/0.6364, allocations: 367.2 kB / 0.6982 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.6387, allocations: 0.5011 MB / 0.6987 GB, free: 5.812 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00503/0.6438, allocations: 2.479 MB / 0.7011 GB, free: 4.238 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005929/0.6444, allocations: 1.06 MB / 0.7021 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009252/0.6453, allocations: 222.3 kB / 0.7023 GB, free: 3.266 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001744/0.6455, allocations: 75.92 kB / 0.7024 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of SimCode: time 7.42e-07/0.6455, allocations: 0 / 0.7024 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of Templates: time 0.03581/0.6813, allocations: 23.01 MB / 0.7249 GB, free: 15.22 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)