Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001666/0.001666, allocations: 107.8 kB / 16.35 MB, free: 5.879 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.001905/0.001905, allocations: 192.4 kB / 17.28 MB, free: 5.516 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.328/1.328, 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.742/1.742, allocations: 292.3 MB / 0.5496 GB, free: 17.61 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.001397/0.001397, allocations: 59.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2223, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.4317/0.654, allocations: 61.23 MB / 0.8446 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01705/0.6711, allocations: 11.89 MB / 0.8562 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002765/0.674, allocations: 55.56 kB / 0.8562 GB, free: 400 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002251/0.6763, allocations: 0.6842 MB / 0.8569 GB, free: 15.95 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006804/0.6831, allocations: 1.953 MB / 0.8588 GB, free: 14.77 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003739/0.6868, allocations: 1.219 MB / 0.86 GB, free: 14.11 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005713/0.6926, allocations: 3.069 MB / 0.863 GB, free: 12.61 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001855/0.6944, allocations: 1.119 MB / 0.8641 GB, free: 12.11 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003444/0.6979, allocations: 1.334 MB / 0.8654 GB, free: 11.45 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001589/0.6995, allocations: 0.9051 MB / 0.8663 GB, free: 11.03 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.6997, allocations: 120.4 kB / 0.8664 GB, free: 11.03 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003358/0.7031, allocations: 1.44 MB / 0.8678 GB, free: 10.54 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003485/0.7035, allocations: 290.5 kB / 0.8681 GB, free: 10.35 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008914/0.7044, allocations: 0.6969 MB / 0.8687 GB, free: 9.918 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003913/0.7083, allocations: 2.308 MB / 0.871 GB, free: 8.715 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.7083, allocations: 0 / 0.871 GB, free: 8.715 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7083, allocations: 4 kB / 0.871 GB, free: 8.711 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.7083, allocations: 1.25 kB / 0.871 GB, free: 8.711 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.003406/0.7118, allocations: 1.732 MB / 0.8727 GB, free: 7.371 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.7118, allocations: 9.938 kB / 0.8727 GB, free: 7.371 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002291/0.7141, allocations: 410 kB / 0.8731 GB, free: 7.184 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.7164, allocations: 1.11 MB / 0.8742 GB, free: 6.281 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003655/0.7167, allocations: 122.4 kB / 0.8743 GB, free: 6.227 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.7169, allocations: 79.91 kB / 0.8744 GB, free: 6.203 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.719, allocations: 1.003 MB / 0.8753 GB, free: 5.543 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.719, allocations: 5.469 kB / 0.8753 GB, free: 5.539 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.318e-05/0.7191, allocations: 32.03 kB / 0.8754 GB, free: 5.516 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.7191, allocations: 20.84 kB / 0.8754 GB, free: 5.516 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.7215, allocations: 0.8866 MB / 0.8763 GB, free: 5.074 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.006901/0.7284, allocations: 4.965 MB / 0.8811 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003451/0.7319, allocations: 0.8401 MB / 0.8819 GB, free: 240 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007628/0.7326, allocations: 318.7 kB / 0.8822 GB, free: 84 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000642/0.7333, allocations: 0.9074 MB / 0.8831 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.7333, allocations: 38.22 kB / 0.8832 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.144e-06/0.7334, allocations: 4.594 kB / 0.8832 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.007841/0.7412, allocations: 1.799 MB / 0.8849 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.7413, allocations: 56.91 kB / 0.885 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/0.7432, allocations: 1.078 MB / 0.886 GB, free: 13.38 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/0.7433, allocations: 39.23 kB / 0.8861 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004146/0.7437, allocations: 0.5176 MB / 0.8866 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.7439, allocations: 169.8 kB / 0.8867 GB, free: 12.73 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.7441, allocations: 144.8 kB / 0.8869 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.7442, allocations: 332 kB / 0.8872 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009356/0.7452, allocations: 327.3 kB / 0.8875 GB, free: 12.16 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.7463, allocations: 0.5446 MB / 0.888 GB, free: 11.71 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.7481, allocations: 0.7342 MB / 0.8887 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.7481, allocations: 2.094 kB / 0.8888 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003957/0.7521, allocations: 1.219 MB / 0.8899 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.7521, allocations: 7.25 kB / 0.8899 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.7521, allocations: 8.219 kB / 0.89 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/0.7534, allocations: 313.9 kB / 0.8903 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/0.7541, allocations: 138.4 kB / 0.8904 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001502/0.7556, allocations: 0.9099 MB / 0.8913 GB, free: 9.715 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.757, allocations: 154.8 kB / 0.8914 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.91e-05/0.7571, allocations: 31.08 kB / 0.8915 GB, free: 9.625 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001345/0.7585, allocations: 0.5418 MB / 0.892 GB, free: 9.297 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001131/0.7596, allocations: 0.5387 MB / 0.8925 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001802/0.7614, allocations: 0.7266 MB / 0.8932 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.102e-06/0.7615, allocations: 2.188 kB / 0.8932 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003786/0.7652, allocations: 1.19 MB / 0.8944 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.7653, allocations: 11.84 kB / 0.8944 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.7653, allocations: 5.531 kB / 0.8944 GB, free: 7.785 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.7664, allocations: 308.9 kB / 0.8947 GB, free: 7.641 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006359/0.767, allocations: 137.5 kB / 0.8948 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/0.7686, allocations: 0.9112 MB / 0.8957 GB, free: 6.879 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.7701, allocations: 144.6 kB / 0.8959 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.7702, allocations: 34.11 kB / 0.8959 GB, free: 6.797 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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.0003101/0.7705, allocations: 220.9 kB / 0.8961 GB, free: 6.586 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003447/0.7709, allocations: 112.3 kB / 0.8962 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/0.7748, allocations: 1.148 MB / 0.8973 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.7749, allocations: 5.25 kB / 0.8973 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.7749, allocations: 0 / 0.8973 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.7749, allocations: 5.172 kB / 0.8973 GB, free: 5.887 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005587/0.7805, allocations: 2.221 MB / 0.8995 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.7805, allocations: 0 / 0.8995 GB, free: 3.746 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003242/0.7808, allocations: 75.83 kB / 0.8996 GB, free: 3.672 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.7819, allocations: 303.2 kB / 0.8999 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.968e-05/0.782, allocations: 15.98 kB / 0.8999 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001527/0.7835, allocations: 0.9438 MB / 0.9008 GB, free: 2.391 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.7835, allocations: 4 kB / 0.9008 GB, free: 2.387 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004621/0.7881, allocations: 1.341 MB / 0.9021 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006175/0.7888, allocations: 271.5 kB / 0.9024 GB, free: 0.7188 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002451/0.789, allocations: 12 kB / 0.9024 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009738/0.79, allocations: 77.78 kB / 0.9025 GB, free: 0.6328 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.675e-05/0.7901, allocations: 35.89 kB / 0.9025 GB, free: 0.5977 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.276e-05/0.7902, allocations: 23.98 kB / 0.9025 GB, free: 0.5742 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001322/0.7915, allocations: 0.759 MB / 0.9033 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.124e-06/0.7915, allocations: 0 / 0.9033 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00263/0.7942, allocations: 0.577 MB / 0.9038 GB, free: 15.23 MB / 0.7012 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001304/0.7955, allocations: 385.3 kB / 0.9042 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003755/0.7993, allocations: 1.189 MB / 0.9054 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.7993, allocations: 320 / 0.9054 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009666/0.8003, allocations: 375.1 kB / 0.9057 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002701/0.803, allocations: 0.5305 MB / 0.9062 GB, free: 12.82 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005779/0.8088, allocations: 2.035 MB / 0.9082 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008534/0.8096, allocations: 1.062 MB / 0.9093 GB, free: 9.633 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001118/0.8108, allocations: 238.1 kB / 0.9095 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002491/0.811, allocations: 83.36 kB / 0.9096 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of SimCode: time 9.02e-07/0.8111, allocations: 0 / 0.9096 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of Templates: time 0.0417/0.8528, allocations: 25.63 MB / 0.9346 GB, free: 88 kB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)