Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.524/1.524, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001124/0.001124, allocations: 192.5 kB / 327.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.4 MB / 0.5783 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007733/0.0007733, allocations: 94.3 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003821, allocations: 8.688 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2013, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.03763/0.2389, allocations: 56.53 MB / 0.956 GB, free: 7.238 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01354/0.2525, allocations: 11.08 MB / 0.9668 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001956/0.2546, allocations: 51.62 kB / 0.9669 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001537/0.2561, allocations: 464.9 kB / 0.9673 GB, free: 11.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004448/0.2606, allocations: 1.522 MB / 0.9688 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002681/0.2633, allocations: 0.8815 MB / 0.9697 GB, free: 9.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004241/0.2675, allocations: 3.379 MB / 0.973 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001332/0.2689, allocations: 0.7859 MB / 0.9737 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.2712, allocations: 1.034 MB / 0.9748 GB, free: 3.984 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001412/0.2726, allocations: 0.8127 MB / 0.9756 GB, free: 3.168 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.2728, allocations: 44 kB / 0.9756 GB, free: 3.125 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00247/0.2752, allocations: 1.084 MB / 0.9767 GB, free: 2.039 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.2755, allocations: 203 kB / 0.9768 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004508/0.2759, allocations: 289 kB / 0.9771 GB, free: 1.551 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002171/0.2781, allocations: 1.625 MB / 0.9787 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.2781, allocations: 4 kB / 0.9787 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.846e-06/0.2782, allocations: 0 / 0.9787 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.858e-05/0.2782, allocations: 0 / 0.9787 GB, free: 15.92 MB / 0.6355 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.002848/0.281, allocations: 1.497 MB / 0.9802 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.038e-05/0.2811, allocations: 12.03 kB / 0.9802 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002183/0.2833, allocations: 477.9 kB / 0.9806 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002226/0.2855, allocations: 1.086 MB / 0.9817 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003914/0.2859, allocations: 125.9 kB / 0.9818 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.2861, allocations: 83.94 kB / 0.9819 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00211/0.2882, allocations: 1.003 MB / 0.9829 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.2882, allocations: 0 / 0.9829 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.063e-05/0.2883, allocations: 36 kB / 0.9829 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.2883, allocations: 23.98 kB / 0.9829 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002452/0.2908, allocations: 0.925 MB / 0.9838 GB, free: 10.51 MB / 0.6355 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.00681/0.2976, allocations: 4.64 MB / 0.9884 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00348/0.3011, allocations: 0.9323 MB / 0.9893 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008256/0.302, allocations: 344.4 kB / 0.9896 GB, free: 4.273 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006402/0.3026, allocations: 0.9106 MB / 0.9905 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.3027, allocations: 39 kB / 0.9905 GB, free: 3.113 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 3.287e-06/0.3027, allocations: 4 kB / 0.9905 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.008134/0.3108, allocations: 2.002 MB / 0.9925 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.3109, allocations: 59.8 kB / 0.9926 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.3125, allocations: 1.055 MB / 0.9936 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.828e-05/0.3126, allocations: 37.7 kB / 0.9936 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.313, allocations: 0.508 MB / 0.9941 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.3132, allocations: 165.6 kB / 0.9943 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.3132, allocations: 12 kB / 0.9943 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3133, allocations: 330 kB / 0.9946 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009078/0.3142, allocations: 340.8 kB / 0.9949 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.3153, allocations: 0.5329 MB / 0.9954 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009294/0.3162, allocations: 368.6 kB / 0.9958 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3162, allocations: 0 / 0.9958 GB, free: 13.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003679/0.3199, allocations: 1.237 MB / 0.997 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.3201, allocations: 193.1 kB / 0.9972 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.3201, allocations: 4 kB / 0.9972 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.3213, allocations: 345.8 kB / 0.9975 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/0.3219, allocations: 135.8 kB / 0.9977 GB, free: 11.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.3235, allocations: 0.9444 MB / 0.9986 GB, free: 10.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/0.3249, allocations: 187.3 kB / 0.9988 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.739e-05/0.3249, allocations: 31.98 kB / 0.9988 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.325, allocations: 4 kB / 0.9988 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003269/0.3282, allocations: 1.088 MB / 0.9999 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3283, allocations: 4 kB / 0.9999 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.3294, allocations: 324.9 kB / 1 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005914/0.33, allocations: 131.8 kB / 1 GB, free: 8.867 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001397/0.3314, allocations: 0.94 MB / 1.001 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.3327, allocations: 171.3 kB / 1.001 GB, free: 7.734 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.674e-05/0.3328, allocations: 27.98 kB / 1.001 GB, free: 7.707 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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.00056/0.3333, allocations: 356.9 kB / 1.002 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.3335, allocations: 110.7 kB / 1.002 GB, free: 7.238 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003838/0.3374, allocations: 1.241 MB / 1.003 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.3374, allocations: 11.94 kB / 1.003 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3374, allocations: 4 kB / 1.003 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.3374, allocations: 3.984 kB / 1.003 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005339/0.3428, allocations: 2.306 MB / 1.005 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.3428, allocations: 4 kB / 1.005 GB, free: 3.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003219/0.3431, allocations: 80.16 kB / 1.005 GB, free: 3.492 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/0.3442, allocations: 316.6 kB / 1.006 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.3443, allocations: 19.98 kB / 1.006 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.3457, allocations: 0.9664 MB / 1.007 GB, free: 2.168 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.3457, allocations: 7.984 kB / 1.007 GB, free: 2.16 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00458/0.3503, allocations: 1.457 MB / 1.008 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006459/0.351, allocations: 283.4 kB / 1.008 GB, free: 368 kB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.3511, allocations: 19.98 kB / 1.008 GB, free: 348 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008806/0.352, allocations: 111.8 kB / 1.009 GB, free: 236 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.589e-05/0.3521, allocations: 51.8 kB / 1.009 GB, free: 184 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/0.3522, allocations: 23.98 kB / 1.009 GB, free: 160 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001199/0.3534, allocations: 0.7352 MB / 1.009 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3534, allocations: 0 / 1.009 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00155/0.355, allocations: 0.5536 MB / 1.01 GB, free: 14.86 MB / 0.6667 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 (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.3557, allocations: 362.7 kB / 1.01 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003227/0.359, allocations: 1.214 MB / 1.011 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.359, allocations: 4 kB / 1.011 GB, free: 13.28 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009054/0.3599, allocations: 383 kB / 1.012 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00279/0.3627, allocations: 0.5246 MB / 1.012 GB, free: 12.39 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005928/0.3687, allocations: 2.535 MB / 1.015 GB, free: 9.797 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00063/0.3693, allocations: 1.062 MB / 1.016 GB, free: 8.703 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.3697, allocations: 91.34 kB / 1.016 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of SimCode: time 1.233e-06/0.3697, allocations: 0 / 1.016 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of Templates: time 0.03202/0.4017, allocations: 23.94 MB / 1.039 GB, free: 0.8008 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)