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.001135/0.001135, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001268/0.001268, allocations: 194.1 kB / 16.25 MB, free: 6.621 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.407/1.407, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.687/1.687, allocations: 292.2 MB / 0.5485 GB, free: 13.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.00132/0.00132, allocations: 67.77 kB / 0.671 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2275, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.0587/0.2863, allocations: 60.74 MB / 0.8422 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01521/0.3015, allocations: 11.84 MB / 0.8537 GB, free: 5.109 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.3035, allocations: 51.69 kB / 0.8538 GB, free: 5.059 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001868/0.3054, allocations: 0.5828 MB / 0.8543 GB, free: 4.473 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00513/0.3105, allocations: 1.8 MB / 0.8561 GB, free: 2.664 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003172/0.3137, allocations: 1.124 MB / 0.8572 GB, free: 1.551 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004267/0.318, allocations: 3.106 MB / 0.8602 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001835/0.3198, allocations: 1.116 MB / 0.8613 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003138/0.323, allocations: 1.329 MB / 0.8626 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.3247, allocations: 0.949 MB / 0.8635 GB, free: 11 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003168/0.325, allocations: 120 kB / 0.8637 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002816/0.3278, allocations: 1.458 MB / 0.8651 GB, free: 9.422 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003638/0.3282, allocations: 298.8 kB / 0.8654 GB, free: 9.129 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.3295, allocations: 0.7036 MB / 0.8661 GB, free: 8.422 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00484/0.3344, allocations: 2.31 MB / 0.8683 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3344, allocations: 0 / 0.8683 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.883e-06/0.3344, allocations: 0 / 0.8683 GB, free: 6.105 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.619e-05/0.3345, allocations: 4 kB / 0.8683 GB, free: 6.102 MB / 0.6856 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.003856/0.3384, allocations: 1.746 MB / 0.87 GB, free: 4.297 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.3384, allocations: 8.031 kB / 0.87 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00253/0.341, allocations: 454.8 kB / 0.8705 GB, free: 3.844 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/0.3435, allocations: 1.143 MB / 0.8716 GB, free: 2.641 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/0.3438, allocations: 117.9 kB / 0.8717 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.344, allocations: 80 kB / 0.8718 GB, free: 2.449 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.3464, allocations: 1.01 MB / 0.8728 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.3464, allocations: 0 / 0.8728 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.763e-05/0.3465, allocations: 32 kB / 0.8728 GB, free: 1.375 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.3466, allocations: 16 kB / 0.8728 GB, free: 1.359 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.3491, allocations: 0.9601 MB / 0.8737 GB, free: 412 kB / 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.007305/0.3564, allocations: 4.669 MB / 0.8783 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004113/0.3606, allocations: 1.011 MB / 0.8793 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.3617, allocations: 413.9 kB / 0.8797 GB, free: 9.965 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/0.3628, allocations: 1.017 MB / 0.8807 GB, free: 8.727 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.3629, allocations: 42.98 kB / 0.8807 GB, free: 8.676 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 3.797e-06/0.3629, allocations: 3.984 kB / 0.8807 GB, free: 8.672 MB / 0.7012 GB Notification: Performance of matching and sorting (n=53): time 0.009607/0.3725, allocations: 2.236 MB / 0.8829 GB, free: 6.402 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.3726, allocations: 59.84 kB / 0.883 GB, free: 6.332 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.3742, allocations: 0.9354 MB / 0.8839 GB, free: 5.379 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.3744, allocations: 37.7 kB / 0.8839 GB, free: 5.336 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.3748, allocations: 0.5079 MB / 0.8844 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/0.375, allocations: 185.3 kB / 0.8846 GB, free: 4.641 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002358/0.3752, allocations: 130.1 kB / 0.8847 GB, free: 4.504 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3753, allocations: 330 kB / 0.885 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009927/0.3763, allocations: 354.9 kB / 0.8854 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.3775, allocations: 0.5233 MB / 0.8859 GB, free: 3.242 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002002/0.3795, allocations: 0.7619 MB / 0.8866 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.3795, allocations: 3.938 kB / 0.8866 GB, free: 2.441 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003041/0.3826, allocations: 1.072 MB / 0.8877 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.3826, allocations: 8 kB / 0.8877 GB, free: 1.352 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.3826, allocations: 7.938 kB / 0.8877 GB, free: 1.344 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.384, allocations: 308.8 kB / 0.888 GB, free: 1.039 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000669/0.3847, allocations: 131.8 kB / 0.8881 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.3862, allocations: 0.9114 MB / 0.889 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.3876, allocations: 155.2 kB / 0.8891 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.3878, allocations: 31.98 kB / 0.8892 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001422/0.3892, allocations: 0.5596 MB / 0.8897 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001204/0.3904, allocations: 0.5155 MB / 0.8902 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002063/0.3925, allocations: 0.7541 MB / 0.891 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.603e-06/0.3925, allocations: 0 / 0.891 GB, free: 13.86 MB / 0.7169 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003104/0.3956, allocations: 1.064 MB / 0.892 GB, free: 12.78 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.3957, allocations: 11.94 kB / 0.892 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3957, allocations: 3.938 kB / 0.892 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.3968, allocations: 308.8 kB / 0.8923 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006337/0.3975, allocations: 135.8 kB / 0.8924 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.3989, allocations: 0.9065 MB / 0.8933 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.4002, allocations: 148.3 kB / 0.8935 GB, free: 11.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-05/0.4003, allocations: 31.97 kB / 0.8935 GB, free: 11.22 MB / 0.7169 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 (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.000255/0.4006, allocations: 220.1 kB / 0.8937 GB, free: 11 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/0.4009, allocations: 106.7 kB / 0.8938 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004507/0.4054, allocations: 1.323 MB / 0.8951 GB, free: 9.555 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.09e-05/0.4054, allocations: 11.98 kB / 0.8951 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.4054, allocations: 0 / 0.8951 GB, free: 9.543 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4054, allocations: 3.938 kB / 0.8951 GB, free: 9.539 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006166/0.4116, allocations: 2.405 MB / 0.8975 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.4117, allocations: 3.938 kB / 0.8975 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.4122, allocations: 108 kB / 0.8976 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/0.4133, allocations: 307.3 kB / 0.8979 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-05/0.4133, allocations: 11.98 kB / 0.8979 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.4148, allocations: 0.9425 MB / 0.8988 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.4148, allocations: 11.97 kB / 0.8988 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004744/0.4195, allocations: 1.331 MB / 0.9001 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006093/0.4202, allocations: 287.5 kB / 0.9004 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/0.4204, allocations: 11.98 kB / 0.9004 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.4216, allocations: 111.7 kB / 0.9005 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.802e-05/0.4217, allocations: 40.38 kB / 0.9005 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.496e-05/0.4217, allocations: 23.98 kB / 0.9006 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001126/0.4229, allocations: 0.6598 MB / 0.9012 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4229, allocations: 0 / 0.9012 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001767/0.4247, allocations: 0.5652 MB / 0.9017 GB, free: 2.566 MB / 0.7169 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 (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.0009705/0.4256, allocations: 383.4 kB / 0.9021 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003995/0.4297, allocations: 1.354 MB / 0.9034 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.4297, allocations: 0 / 0.9034 GB, free: 0.8359 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.431, allocations: 460.8 kB / 0.9039 GB, free: 400 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/0.4336, allocations: 0.4998 MB / 0.9044 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004357/0.438, allocations: 2.335 MB / 0.9066 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007738/0.4388, allocations: 1.062 MB / 0.9077 GB, free: 12.43 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00121/0.44, allocations: 236 kB / 0.9079 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002854/0.4403, allocations: 83.41 kB / 0.908 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of SimCode: time 7.62e-07/0.4403, allocations: 0 / 0.908 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of Templates: time 0.3745/0.8148, allocations: 24.62 MB / 0.932 GB, free: 133 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (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)