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.0009254/0.0009255, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 172 kB / 16.92 MB, free: 6.652 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.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9757/0.9757, allocations: 135.3 MB / 427.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003453, allocations: 9.344 kB / 0.5082 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1627, allocations: 82.31 MB / 0.5886 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.3237/0.4865, allocations: 59.7 MB / 0.6469 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.4994, allocations: 11.91 MB / 0.6585 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00172/0.5012, allocations: 53.34 kB / 0.6586 GB, free: 8.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.5026, allocations: 0.5426 MB / 0.6591 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00394/0.5065, allocations: 1.805 MB / 0.6609 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.5089, allocations: 1.082 MB / 0.6619 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003703/0.5126, allocations: 3.893 MB / 0.6657 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.5139, allocations: 0.8995 MB / 0.6666 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002253/0.5162, allocations: 1.122 MB / 0.6677 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001101/0.5173, allocations: 0.8551 MB / 0.6685 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.5174, allocations: 42.34 kB / 0.6686 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002608/0.5201, allocations: 1.323 MB / 0.6699 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003015/0.5204, allocations: 211.5 kB / 0.6701 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008338/0.5212, allocations: 0.6309 MB / 0.6707 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002815/0.524, allocations: 1.693 MB / 0.6723 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.524, allocations: 4.609 kB / 0.6724 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.375e-06/0.5241, allocations: 0 / 0.6724 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.5241, allocations: 0 / 0.6724 GB, free: 2.656 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.002813/0.5269, allocations: 1.48 MB / 0.6738 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.527, allocations: 9.688 kB / 0.6738 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002249/0.5292, allocations: 474.3 kB / 0.6743 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002023/0.5312, allocations: 1.133 MB / 0.6754 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003697/0.5316, allocations: 123.8 kB / 0.6755 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.5318, allocations: 83.44 kB / 0.6756 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002139/0.5339, allocations: 1.004 MB / 0.6765 GB, free: 324 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.534, allocations: 5.094 kB / 0.6765 GB, free: 320 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.044e-05/0.534, allocations: 32.34 kB / 0.6766 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.5341, allocations: 18.5 kB / 0.6766 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002375/0.5364, allocations: 0.917 MB / 0.6775 GB, free: 0 / 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.007146/0.5436, allocations: 4.904 MB / 0.6823 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00373/0.5473, allocations: 0.8932 MB / 0.6832 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008328/0.5482, allocations: 326 kB / 0.6835 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006794/0.5489, allocations: 0.901 MB / 0.6843 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.5489, allocations: 39.83 kB / 0.6844 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.595e-06/0.5489, allocations: 1.375 kB / 0.6844 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.009675/0.5586, allocations: 2.157 MB / 0.6865 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.5587, allocations: 54.94 kB / 0.6865 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.5605, allocations: 1.054 MB / 0.6876 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.062e-05/0.5606, allocations: 38.23 kB / 0.6876 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004707/0.5611, allocations: 0.5219 MB / 0.6881 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/0.5613, allocations: 153 kB / 0.6883 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.5614, allocations: 51.86 kB / 0.6883 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5615, allocations: 329.9 kB / 0.6886 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009544/0.5625, allocations: 322.7 kB / 0.6889 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001154/0.5636, allocations: 0.5385 MB / 0.6895 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/0.5654, allocations: 0.7277 MB / 0.6902 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5654, allocations: 2.625 kB / 0.6902 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002852/0.5683, allocations: 1.057 MB / 0.6912 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/0.5684, allocations: 207.2 kB / 0.6914 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.5684, allocations: 7.891 kB / 0.6914 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.5698, allocations: 329.7 kB / 0.6917 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005657/0.5703, allocations: 130.3 kB / 0.6919 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.572, allocations: 0.9445 MB / 0.6928 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/0.5735, allocations: 194.5 kB / 0.693 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.614e-05/0.5736, allocations: 28.45 kB / 0.693 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.246e-06/0.5736, allocations: 3.438 kB / 0.693 GB, free: 6.703 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00269/0.5763, allocations: 0.9155 MB / 0.6939 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.315e-05/0.5764, allocations: 11 kB / 0.6939 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.5776, allocations: 322.2 kB / 0.6942 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000552/0.5781, allocations: 130.2 kB / 0.6943 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.5797, allocations: 0.9392 MB / 0.6952 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.581, allocations: 175.4 kB / 0.6954 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/0.5811, allocations: 31.17 kB / 0.6954 GB, free: 5.602 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.0007052/0.5819, allocations: 350.4 kB / 0.6958 GB, free: 5.316 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/0.5821, allocations: 111.8 kB / 0.6959 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004254/0.5864, allocations: 1.201 MB / 0.6971 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.017e-05/0.5864, allocations: 5.203 kB / 0.6971 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.5864, allocations: 1.125 kB / 0.6971 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.5865, allocations: 6.797 kB / 0.6971 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006048/0.5925, allocations: 2.261 MB / 0.6993 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.5925, allocations: 2.75 kB / 0.6993 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003003/0.5928, allocations: 68.78 kB / 0.6993 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001115/0.594, allocations: 327.9 kB / 0.6997 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.594, allocations: 21.48 kB / 0.6997 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/0.5956, allocations: 0.963 MB / 0.7006 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5956, allocations: 3.062 kB / 0.7006 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003941/0.5996, allocations: 1.267 MB / 0.7019 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006701/0.6002, allocations: 281.5 kB / 0.7021 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/0.6005, allocations: 16.92 kB / 0.7021 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.6017, allocations: 110.3 kB / 0.7022 GB, free: 2.273 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.715e-05/0.6018, allocations: 35.64 kB / 0.7023 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.455e-05/0.6019, allocations: 27.92 kB / 0.7023 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001577/0.6035, allocations: 0.7415 MB / 0.703 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6035, allocations: 0 / 0.703 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002245/0.6057, allocations: 0.5597 MB / 0.7036 GB, free: 1.703 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.001028/0.6068, allocations: 387.2 kB / 0.7039 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003518/0.6103, allocations: 1.166 MB / 0.7051 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.6103, allocations: 1.375 kB / 0.7051 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.6113, allocations: 369.9 kB / 0.7054 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003431/0.6148, allocations: 0.4959 MB / 0.7059 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006339/0.6211, allocations: 2.576 MB / 0.7084 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006574/0.6218, allocations: 1.053 MB / 0.7095 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000362/0.6222, allocations: 90.92 kB / 0.7096 GB, free: 14 MB / 0.5294 GB Notification: Performance of SimCode: time 1.392e-06/0.6222, allocations: 0 / 0.7096 GB, free: 14 MB / 0.5294 GB Notification: Performance of Templates: time 0.03509/0.6573, allocations: 23.66 MB / 0.7327 GB, free: 7.715 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)