Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Annex60.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006359/0.006359, allocations: 97.47 kB / 15.73 MB, free: 6.008 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.001149/0.001149, allocations: 190.9 kB / 16.67 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 222.6 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.411/0.411, allocations: 54.95 MB / 324.8 MB, free: 24 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 75.56 kB / 456.3 MB, free: 38.31 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1344, allocations: 59.58 MB / 0.5038 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.HeatPumps.Examples.Carnot_y): time 0.07443/0.2089, allocations: 74.51 MB / 0.5765 GB, free: 184 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02212/0.231, allocations: 14.19 MB / 0.5904 GB, free: 1.945 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003165/0.2343, allocations: 59.69 kB / 0.5904 GB, free: 1.887 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003329/0.2376, allocations: 0.8968 MB / 0.5913 GB, free: 0.9844 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009039/0.2467, allocations: 2.523 MB / 0.5938 GB, free: 14.45 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004038/0.2508, allocations: 1.248 MB / 0.595 GB, free: 13.21 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006991/0.2578, allocations: 4.355 MB / 0.5992 GB, free: 8.836 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002799/0.2606, allocations: 1.409 MB / 0.6006 GB, free: 7.395 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004504/0.2651, allocations: 1.714 MB / 0.6023 GB, free: 5.68 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002617/0.2678, allocations: 1.288 MB / 0.6036 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005259/0.2683, allocations: 164 kB / 0.6037 GB, free: 4.227 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003189/0.2715, allocations: 1.24 MB / 0.6049 GB, free: 2.984 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006376/0.2721, allocations: 410.5 kB / 0.6053 GB, free: 2.582 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001775/0.2739, allocations: 0.9333 MB / 0.6062 GB, free: 1.645 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004881/0.2788, allocations: 2.854 MB / 0.609 GB, free: 14.78 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2788, allocations: 4 kB / 0.609 GB, free: 14.78 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2789, allocations: 0 / 0.609 GB, free: 14.78 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.148e-05/0.2789, allocations: 0 / 0.609 GB, free: 14.78 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.004426/0.2834, allocations: 2.167 MB / 0.6111 GB, free: 12.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2834, allocations: 8.031 kB / 0.6111 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.2845, allocations: 259.7 kB / 0.6114 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002585/0.2871, allocations: 1.49 MB / 0.6128 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.298e-05/0.2872, allocations: 82.11 kB / 0.6129 GB, free: 10.65 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.2873, allocations: 112 kB / 0.613 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002652/0.29, allocations: 1.374 MB / 0.6144 GB, free: 9.039 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.122e-05/0.29, allocations: 4 kB / 0.6144 GB, free: 9.035 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.773e-05/0.2901, allocations: 44 kB / 0.6144 GB, free: 8.992 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-05/0.2902, allocations: 43.92 kB / 0.6145 GB, free: 8.949 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/0.2926, allocations: 1.026 MB / 0.6155 GB, free: 7.926 MB / 494.1 MB 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.006782/0.2994, allocations: 6.58 MB / 0.6219 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001765/0.3012, allocations: 0.6307 MB / 0.6225 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006962/0.3019, allocations: 334.9 kB / 0.6228 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/0.3022, allocations: 340.9 kB / 0.6231 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3022, allocations: 43.12 kB / 0.6232 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=63): time 2.575e-06/0.3022, allocations: 0 / 0.6232 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=67): time 0.006901/0.3092, allocations: 2.341 MB / 0.6255 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/0.3093, allocations: 158.8 kB / 0.6256 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002183/0.3115, allocations: 1.275 MB / 0.6269 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001189/0.3116, allocations: 37.7 kB / 0.6269 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000591/0.3122, allocations: 0.6696 MB / 0.6276 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002616/0.3125, allocations: 249.8 kB / 0.6278 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/0.3128, allocations: 178.6 kB / 0.628 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3129, allocations: 345.9 kB / 0.6283 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008264/0.3138, allocations: 332.6 kB / 0.6286 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001145/0.3149, allocations: 0.6574 MB / 0.6293 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001887/0.3168, allocations: 0.9408 MB / 0.6302 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.3168, allocations: 0 / 0.6302 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002597/0.3194, allocations: 1.08 MB / 0.6312 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.3195, allocations: 8 kB / 0.6312 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.3195, allocations: 8 kB / 0.6312 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/0.3195, allocations: 19.88 kB / 0.6313 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009025/0.3205, allocations: 224 kB / 0.6315 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.899e-05/0.3205, allocations: 23.92 kB / 0.6315 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.3217, allocations: 75.92 kB / 0.6316 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.944e-05/0.3218, allocations: 43.98 kB / 0.6316 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001249/0.323, allocations: 0.5877 MB / 0.6322 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009788/0.324, allocations: 0.6359 MB / 0.6328 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001585/0.3256, allocations: 0.8789 MB / 0.6337 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.335e-06/0.3257, allocations: 4 kB / 0.6337 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.002238/0.3279, allocations: 1.034 MB / 0.6347 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3279, allocations: 12 kB / 0.6347 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.328, allocations: 8 kB / 0.6347 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.328, allocations: 12 kB / 0.6347 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008087/0.3288, allocations: 219.6 kB / 0.6349 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/0.3288, allocations: 19.88 kB / 0.6349 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.3302, allocations: 84.11 kB / 0.635 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.625e-05/0.3303, allocations: 39.98 kB / 0.6351 GB, free: 2.711 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003529/0.3306, allocations: 236 kB / 0.6353 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/0.331, allocations: 147.1 kB / 0.6354 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/0.3334, allocations: 0.9415 MB / 0.6363 GB, free: 1.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/0.3334, allocations: 8 kB / 0.6363 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.3334, allocations: 0 / 0.6363 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002014/0.3354, allocations: 0.8334 MB / 0.6372 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.347/0.6824, allocations: 2.48 MB / 0.6396 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.6825, allocations: 5.344 kB / 0.6396 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008196/0.6833, allocations: 156.1 kB / 0.6397 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002832/0.6836, allocations: 79.47 kB / 0.6398 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.209e-05/0.6837, allocations: 23.58 kB / 0.6398 GB, free: 126.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007043/0.6844, allocations: 1.161 MB / 0.641 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/0.6844, allocations: 6.094 kB / 0.641 GB, free: 125.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003332/0.6878, allocations: 1.511 MB / 0.6425 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006863/0.6885, allocations: 311.7 kB / 0.6427 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/0.6887, allocations: 23.62 kB / 0.6428 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000883/0.6896, allocations: 71.02 kB / 0.6428 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.6897, allocations: 62.58 kB / 0.6429 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.925e-05/0.6898, allocations: 37.55 kB / 0.6429 GB, free: 125.2 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001583/0.6914, allocations: 0.8973 MB / 0.6438 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6914, allocations: 2.125 kB / 0.6438 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002516/0.6939, allocations: 0.6444 MB / 0.6444 GB, free: 124.7 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009976/0.6949, allocations: 377.4 kB / 0.6448 GB, free: 124.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003566/0.6985, allocations: 1.288 MB / 0.6461 GB, free: 124.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.6985, allocations: 5.562 kB / 0.6461 GB, free: 124.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001243/0.6998, allocations: 422.9 kB / 0.6465 GB, free: 124.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004514/0.7043, allocations: 0.8721 MB / 0.6473 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004575/0.7089, allocations: 2.483 MB / 0.6497 GB, free: 122.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008417/0.7098, allocations: 1.192 MB / 0.6509 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001459/0.7112, allocations: 332.4 kB / 0.6512 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003051/0.7115, allocations: 117.7 kB / 0.6513 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.773e-06/0.7116, allocations: 0 / 0.6513 GB, free: 121.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.04464/0.7562, allocations: 31.4 MB / 0.682 GB, free: 94.09 MB / 0.4981 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)