Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 110.3 kB / 16.37 MB, free: 5.953 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.001466/0.001466, allocations: 190.2 kB / 17.31 MB, free: 5.574 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.375/1.375, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 292.3 MB / 0.5496 GB, free: 17.47 MB / 462.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: Performance of FrontEnd - loaded program: time 0.002222/0.002223, allocations: 67.91 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2806, allocations: 114.6 MB / 0.7848 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.5351/0.8158, allocations: 61.25 MB / 0.8446 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01706/0.8329, allocations: 11.91 MB / 0.8562 GB, free: 432 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003657/0.8366, allocations: 59.78 kB / 0.8563 GB, free: 408 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002601/0.8393, allocations: 0.6757 MB / 0.8569 GB, free: 15.96 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007773/0.8471, allocations: 1.945 MB / 0.8588 GB, free: 14.8 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004902/0.852, allocations: 1.222 MB / 0.86 GB, free: 14.13 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006578/0.8586, allocations: 3.078 MB / 0.863 GB, free: 12.62 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0023/0.861, allocations: 1.11 MB / 0.8641 GB, free: 12.13 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004321/0.8653, allocations: 1.338 MB / 0.8654 GB, free: 11.47 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002557/0.8679, allocations: 0.9099 MB / 0.8663 GB, free: 11.05 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000348/0.8682, allocations: 117.5 kB / 0.8664 GB, free: 11.05 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004602/0.8729, allocations: 1.47 MB / 0.8679 GB, free: 10.55 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004824/0.8734, allocations: 290.3 kB / 0.8681 GB, free: 10.36 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001399/0.8748, allocations: 0.6943 MB / 0.8688 GB, free: 9.926 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005953/0.8807, allocations: 2.337 MB / 0.8711 GB, free: 8.719 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.8808, allocations: 4 kB / 0.8711 GB, free: 8.715 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.926e-06/0.8808, allocations: 0 / 0.8711 GB, free: 8.715 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.72e-05/0.8808, allocations: 1.406 kB / 0.8711 GB, free: 8.715 MB / 0.67 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.00393/0.8848, allocations: 1.733 MB / 0.8728 GB, free: 7.375 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.8848, allocations: 8.844 kB / 0.8728 GB, free: 7.375 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001738/0.8866, allocations: 346.3 kB / 0.8731 GB, free: 7.219 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002384/0.889, allocations: 1.166 MB / 0.8743 GB, free: 6.289 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.452e-05/0.889, allocations: 64.09 kB / 0.8743 GB, free: 6.258 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.8892, allocations: 79.78 kB / 0.8744 GB, free: 6.234 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002029/0.8912, allocations: 0.9682 MB / 0.8754 GB, free: 5.594 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.8912, allocations: 1.031 kB / 0.8754 GB, free: 5.594 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-05/0.8913, allocations: 35.72 kB / 0.8754 GB, free: 5.566 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.752e-05/0.8914, allocations: 19.06 kB / 0.8754 GB, free: 5.566 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/0.8936, allocations: 0.821 MB / 0.8762 GB, free: 5.16 MB / 0.67 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.007098/0.9007, allocations: 4.855 MB / 0.881 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/0.9023, allocations: 0.6049 MB / 0.8815 GB, free: 0.5156 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006362/0.903, allocations: 285.3 kB / 0.8818 GB, free: 388 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/0.9045, allocations: 1.371 MB / 0.8832 GB, free: 14.8 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.9046, allocations: 38.16 kB / 0.8832 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.514e-06/0.9046, allocations: 4 kB / 0.8832 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.007494/0.9121, allocations: 1.666 MB / 0.8848 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.9121, allocations: 64.47 kB / 0.8849 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.914, allocations: 1.075 MB / 0.8859 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.524e-05/0.9141, allocations: 38.56 kB / 0.886 GB, free: 13.19 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000436/0.9146, allocations: 0.522 MB / 0.8865 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.9147, allocations: 170.2 kB / 0.8866 GB, free: 12.58 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002642/0.915, allocations: 141.9 kB / 0.8868 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.9151, allocations: 327.8 kB / 0.8871 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008083/0.916, allocations: 285.5 kB / 0.8874 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.917, allocations: 0.5076 MB / 0.8879 GB, free: 11.61 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.9186, allocations: 0.6747 MB / 0.8885 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.992e-06/0.9186, allocations: 1.062 kB / 0.8885 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003698/0.9224, allocations: 1.124 MB / 0.8896 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.9224, allocations: 6.281 kB / 0.8896 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.9224, allocations: 4.562 kB / 0.8896 GB, free: 10.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.9237, allocations: 308.4 kB / 0.8899 GB, free: 10.46 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005198/0.9242, allocations: 124 kB / 0.89 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.9257, allocations: 0.9016 MB / 0.8909 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.9272, allocations: 139.4 kB / 0.8911 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.784e-05/0.9274, allocations: 35.92 kB / 0.8911 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001284/0.9286, allocations: 0.4935 MB / 0.8916 GB, free: 9.324 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001029/0.9297, allocations: 0.4938 MB / 0.892 GB, free: 8.918 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001531/0.9312, allocations: 0.6719 MB / 0.8927 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.879e-06/0.9312, allocations: 5.125 kB / 0.8927 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003575/0.9348, allocations: 1.1 MB / 0.8938 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.9349, allocations: 7.75 kB / 0.8938 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.9349, allocations: 3.844 kB / 0.8938 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.936, allocations: 295.7 kB / 0.8941 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.9365, allocations: 129.5 kB / 0.8942 GB, free: 7.746 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/0.9379, allocations: 0.8956 MB / 0.8951 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001424/0.9393, allocations: 127.6 kB / 0.8952 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.463e-05/0.9394, allocations: 30.33 kB / 0.8952 GB, free: 6.957 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (61): * Single equations (assignments): 60 * 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.0003292/0.9398, allocations: 220.6 kB / 0.8954 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.94, allocations: 117.3 kB / 0.8955 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/0.9439, allocations: 1.101 MB / 0.8966 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.9439, allocations: 13.48 kB / 0.8966 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.9439, allocations: 0 / 0.8966 GB, free: 6.074 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.21e-05/0.944, allocations: 3.984 kB / 0.8966 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005363/0.9493, allocations: 2.116 MB / 0.8987 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/0.9494, allocations: 0 / 0.8987 GB, free: 4.543 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002376/0.9496, allocations: 59.91 kB / 0.8988 GB, free: 4.484 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001004/0.9506, allocations: 306.3 kB / 0.8991 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.9507, allocations: 19.39 kB / 0.8991 GB, free: 4.168 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/0.9522, allocations: 0.9286 MB / 0.9 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.9522, allocations: 8.828 kB / 0.9 GB, free: 3.207 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003618/0.9558, allocations: 1.149 MB / 0.9011 GB, free: 2.008 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006313/0.9564, allocations: 259.5 kB / 0.9014 GB, free: 1.734 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.9566, allocations: 16 kB / 0.9014 GB, free: 1.719 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007821/0.9574, allocations: 63.92 kB / 0.9014 GB, free: 1.656 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.476e-05/0.9575, allocations: 39.89 kB / 0.9015 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.108e-05/0.9576, allocations: 23.98 kB / 0.9015 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001283/0.9589, allocations: 0.7512 MB / 0.9022 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3e-07/0.9589, allocations: 4 kB / 0.9022 GB, free: 0.832 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001954/0.9609, allocations: 0.5809 MB / 0.9028 GB, free: 256 kB / 0.6856 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 (37): * Single equations (assignments): 32 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001128/0.962, allocations: 413.1 kB / 0.9032 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003026/0.965, allocations: 1.087 MB / 0.9043 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.9651, allocations: 0 / 0.9043 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008294/0.9659, allocations: 338.5 kB / 0.9046 GB, free: 14.44 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/0.9686, allocations: 0.5334 MB / 0.9051 GB, free: 13.96 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.9725, allocations: 1.848 MB / 0.9069 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006947/0.9732, allocations: 1.062 MB / 0.9079 GB, free: 10.95 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/0.9735, allocations: 87.41 kB / 0.908 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of SimCode: time 9.92e-07/0.9735, allocations: 0 / 0.908 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of Templates: time 0.03598/1.009, allocations: 24.45 MB / 0.9319 GB, free: 2.688 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)