Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009012/0.0009012, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009848/0.0009848, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.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.64/1.64, allocations: 292.5 MB / 0.5497 GB, free: 14.66 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.0005196/0.0005197, allocations: 17.41 kB / 0.6735 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2279, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05228/0.2802, allocations: 51.35 MB / 0.8373 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01478/0.295, allocations: 10.23 MB / 0.8472 GB, free: 14.26 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002157/0.2972, allocations: 51.62 kB / 0.8473 GB, free: 14.21 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002384/0.2996, allocations: 0.6219 MB / 0.8479 GB, free: 13.59 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00599/0.3056, allocations: 1.897 MB / 0.8498 GB, free: 11.68 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00375/0.3094, allocations: 1.332 MB / 0.8511 GB, free: 10.38 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003396/0.3128, allocations: 1.859 MB / 0.8529 GB, free: 8.516 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001595/0.3144, allocations: 0.83 MB / 0.8537 GB, free: 7.656 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00223/0.3166, allocations: 0.9886 MB / 0.8546 GB, free: 6.664 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.3179, allocations: 0.6028 MB / 0.8552 GB, free: 6.059 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002359/0.3182, allocations: 44 kB / 0.8553 GB, free: 6.016 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.3207, allocations: 0.9985 MB / 0.8562 GB, free: 5.016 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000326/0.3211, allocations: 191.2 kB / 0.8564 GB, free: 4.828 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0005103/0.3216, allocations: 285 kB / 0.8567 GB, free: 4.543 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002181/0.3238, allocations: 1.602 MB / 0.8583 GB, free: 2.938 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.3238, allocations: 0 / 0.8583 GB, free: 2.938 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3238, allocations: 0 / 0.8583 GB, free: 2.938 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.3238, allocations: 4 kB / 0.8583 GB, free: 2.934 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00258/0.3264, allocations: 1.485 MB / 0.8597 GB, free: 1.391 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.3265, allocations: 8.031 kB / 0.8597 GB, free: 1.383 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002405/0.3289, allocations: 0.5173 MB / 0.8602 GB, free: 0.8633 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001766/0.3306, allocations: 1.059 MB / 0.8613 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003568/0.331, allocations: 133.9 kB / 0.8614 GB, free: 15.61 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.3311, allocations: 84 kB / 0.8615 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002137/0.3333, allocations: 1.029 MB / 0.8625 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.3333, allocations: 0 / 0.8625 GB, free: 14.47 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-05/0.3334, allocations: 32 kB / 0.8625 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.3334, allocations: 20 kB / 0.8625 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002458/0.3359, allocations: 1.007 MB / 0.8635 GB, free: 13.42 MB / 0.6856 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.005614/0.3415, allocations: 4.747 MB / 0.8681 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003893/0.3454, allocations: 1.114 MB / 0.8692 GB, free: 7.199 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008658/0.3463, allocations: 1.025 MB / 0.8702 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.3464, allocations: 39 kB / 0.8703 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=53): time 2.424e-06/0.3464, allocations: 0 / 0.8703 GB, free: 5.906 MB / 0.6856 GB Notification: Performance of matching and sorting (n=53): time 0.009025/0.3554, allocations: 2.494 MB / 0.8727 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.3555, allocations: 59.84 kB / 0.8728 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.3566, allocations: 0.9432 MB / 0.8737 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.322e-05/0.3567, allocations: 37.7 kB / 0.8737 GB, free: 2.309 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004033/0.3571, allocations: 0.5079 MB / 0.8742 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.3573, allocations: 185.3 kB / 0.8744 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/0.3573, allocations: 15.88 kB / 0.8744 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3574, allocations: 330 kB / 0.8747 GB, free: 1.27 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009884/0.3584, allocations: 372.9 kB / 0.8751 GB, free: 0.9062 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001122/0.3595, allocations: 0.5435 MB / 0.8756 GB, free: 308 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.3606, allocations: 401.9 kB / 0.876 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.3606, allocations: 0 / 0.876 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002711/0.3633, allocations: 1.123 MB / 0.8771 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003269/0.3636, allocations: 0.9689 MB / 0.878 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.3637, allocations: 3.984 kB / 0.878 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.3649, allocations: 336.5 kB / 0.8784 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006099/0.3655, allocations: 147.8 kB / 0.8785 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.3669, allocations: 0.927 MB / 0.8794 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.368, allocations: 183.2 kB / 0.8796 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.775e-05/0.3681, allocations: 31.97 kB / 0.8796 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.197e-06/0.3681, allocations: 6.656 kB / 0.8796 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002504/0.3706, allocations: 0.9977 MB / 0.8806 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.3706, allocations: 4 kB / 0.8806 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.3716, allocations: 323.3 kB / 0.8809 GB, free: 10.76 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005903/0.3722, allocations: 143.8 kB / 0.881 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001284/0.3735, allocations: 0.9271 MB / 0.882 GB, free: 9.668 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.3746, allocations: 175.3 kB / 0.8821 GB, free: 9.496 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.732e-05/0.3746, allocations: 31.97 kB / 0.8821 GB, free: 9.465 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0004752/0.3751, allocations: 352.9 kB / 0.8825 GB, free: 9.109 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.3753, allocations: 106.7 kB / 0.8826 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004304/0.3796, allocations: 1.439 MB / 0.884 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.3796, allocations: 8 kB / 0.884 GB, free: 7.547 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.3796, allocations: 4 kB / 0.884 GB, free: 7.543 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.3796, allocations: 7.938 kB / 0.884 GB, free: 7.535 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00631/0.386, allocations: 2.537 MB / 0.8865 GB, free: 4.922 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.599e-05/0.386, allocations: 4 kB / 0.8865 GB, free: 4.918 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005466/0.3866, allocations: 116 kB / 0.8866 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001055/0.3876, allocations: 324.6 kB / 0.8869 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/0.3877, allocations: 23.92 kB / 0.8869 GB, free: 4.461 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/0.3892, allocations: 0.962 MB / 0.8879 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.3892, allocations: 7.969 kB / 0.8879 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/0.3935, allocations: 1.518 MB / 0.8894 GB, free: 1.875 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008569/0.3944, allocations: 307.3 kB / 0.8897 GB, free: 1.555 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002736/0.3947, allocations: 12 kB / 0.8897 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.3958, allocations: 123.8 kB / 0.8898 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.963e-05/0.3959, allocations: 40.39 kB / 0.8898 GB, free: 1.383 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.881e-05/0.396, allocations: 27.97 kB / 0.8899 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001062/0.397, allocations: 0.6637 MB / 0.8905 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3971, allocations: 0 / 0.8905 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001929/0.399, allocations: 0.5769 MB / 0.8911 GB, free: 108 kB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0008648/0.3999, allocations: 379.9 kB / 0.8914 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003773/0.4037, allocations: 1.393 MB / 0.8928 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4037, allocations: 0 / 0.8928 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.4049, allocations: 488.8 kB / 0.8933 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/0.4073, allocations: 0.5079 MB / 0.8938 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/0.4116, allocations: 2.332 MB / 0.896 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/0.4123, allocations: 1.089 MB / 0.8971 GB, free: 9.871 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001026/0.4133, allocations: 242.3 kB / 0.8973 GB, free: 9.637 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002268/0.4135, allocations: 79.41 kB / 0.8974 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of SimCode: time 9.32e-07/0.4135, allocations: 0 / 0.8974 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of Templates: time 0.04023/0.4538, allocations: 23.5 MB / 0.9203 GB, free: 2.344 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: