Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 252 MB / 267.3 MB, free: 10.86 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.001038/0.001038, allocations: 179.7 kB / 327 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0009056/0.0009056, allocations: 96.06 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003628/0.0003629, allocations: 8.562 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2536, allocations: 106.4 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04635/0.3, allocations: 59.78 MB / 0.9593 GB, free: 3.402 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01747/0.3176, allocations: 11.8 MB / 0.9708 GB, free: 7.574 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003176/0.3208, allocations: 55.62 kB / 0.9709 GB, free: 7.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002524/0.3234, allocations: 0.5476 MB / 0.9714 GB, free: 6.969 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006933/0.3303, allocations: 1.789 MB / 0.9732 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003597/0.334, allocations: 1.094 MB / 0.9742 GB, free: 4.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005573/0.3395, allocations: 3.89 MB / 0.978 GB, free: 188 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001722/0.3413, allocations: 0.9148 MB / 0.9789 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002859/0.3442, allocations: 1.116 MB / 0.98 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.3459, allocations: 0.8748 MB / 0.9809 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.346, allocations: 40 kB / 0.9809 GB, free: 13.2 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003131/0.3492, allocations: 1.302 MB / 0.9822 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003215/0.3495, allocations: 218.9 kB / 0.9824 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009766/0.3505, allocations: 0.6388 MB / 0.983 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.004301/0.3548, allocations: 2.193 MB / 0.9851 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/0.3548, allocations: 0 / 0.9851 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.392e-06/0.3549, allocations: 0 / 0.9851 GB, free: 8.836 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.672e-05/0.3549, allocations: 7.938 kB / 0.9851 GB, free: 8.828 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003601/0.3585, allocations: 1.489 MB / 0.9866 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.3586, allocations: 8.031 kB / 0.9866 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001858/0.3588, allocations: 119 kB / 0.9867 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002497/0.3613, allocations: 0.5183 MB / 0.9872 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/0.3637, allocations: 1.148 MB / 0.9883 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003494/0.3641, allocations: 121.9 kB / 0.9885 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.3642, allocations: 91.88 kB / 0.9886 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002205/0.3664, allocations: 1.037 MB / 0.9896 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.3665, allocations: 3.938 kB / 0.9896 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.463e-05/0.3665, allocations: 35.98 kB / 0.9896 GB, free: 4.105 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.3666, allocations: 16 kB / 0.9896 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002624/0.3692, allocations: 1.007 MB / 0.9906 GB, free: 3.082 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.006483/0.3757, allocations: 4.719 MB / 0.9952 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004208/0.3799, allocations: 1.127 MB / 0.9963 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.381, allocations: 445.9 kB / 0.9967 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.3821, allocations: 1.025 MB / 0.9977 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.3822, allocations: 42.94 kB / 0.9978 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 3.577e-06/0.3822, allocations: 0 / 0.9978 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53): time 0.01002/0.3922, allocations: 2.506 MB / 1 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.3923, allocations: 67.78 kB / 1 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/0.3942, allocations: 0.9316 MB / 1.001 GB, free: 7.578 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-05/0.3943, allocations: 37.7 kB / 1.001 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004731/0.3948, allocations: 0.5079 MB / 1.002 GB, free: 7.023 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000199/0.395, allocations: 181.4 kB / 1.002 GB, free: 6.844 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.3951, allocations: 8 kB / 1.002 GB, free: 6.836 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3952, allocations: 326 kB / 1.002 GB, free: 6.512 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001063/0.3963, allocations: 380.9 kB / 1.003 GB, free: 6.137 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.3975, allocations: 0.539 MB / 1.003 GB, free: 5.535 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/0.3997, allocations: 0.8243 MB / 1.004 GB, free: 4.676 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.3997, allocations: 4 kB / 1.004 GB, free: 4.672 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.004436/0.4042, allocations: 1.306 MB / 1.005 GB, free: 3.355 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.4044, allocations: 156.3 kB / 1.005 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4044, allocations: 0 / 1.005 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.4058, allocations: 332.5 kB / 1.006 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006681/0.4064, allocations: 143.8 kB / 1.006 GB, free: 2.695 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.4081, allocations: 0.9417 MB / 1.007 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/0.4096, allocations: 179.2 kB / 1.007 GB, free: 1.555 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.4098, allocations: 35.97 kB / 1.007 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4098, allocations: 4 kB / 1.007 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003807/0.4136, allocations: 1.161 MB / 1.008 GB, free: 360 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4136, allocations: 0 / 1.008 GB, free: 360 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.4148, allocations: 328.8 kB / 1.008 GB, free: 28 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006514/0.4155, allocations: 139.8 kB / 1.009 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001551/0.417, allocations: 0.9309 MB / 1.009 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/0.4184, allocations: 171.4 kB / 1.01 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.237e-05/0.4185, allocations: 27.98 kB / 1.01 GB, free: 14.74 MB / 0.6667 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 (54): * Single equations (assignments): 53 * 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.0006751/0.4192, allocations: 350.1 kB / 1.01 GB, free: 14.39 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/0.4195, allocations: 106.7 kB / 1.01 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004798/0.4244, allocations: 1.456 MB / 1.011 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.4244, allocations: 4 kB / 1.011 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.4244, allocations: 4 kB / 1.011 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.4244, allocations: 3.984 kB / 1.011 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006944/0.4314, allocations: 2.518 MB / 1.014 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.406e-05/0.4314, allocations: 4.188 kB / 1.014 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006014/0.432, allocations: 119.8 kB / 1.014 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/0.4332, allocations: 324.6 kB / 1.014 GB, free: 9.766 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.456e-05/0.4333, allocations: 15.98 kB / 1.014 GB, free: 9.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001728/0.435, allocations: 0.9684 MB / 1.015 GB, free: 8.758 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-05/0.4351, allocations: 8.094 kB / 1.015 GB, free: 8.75 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004869/0.4399, allocations: 1.46 MB / 1.017 GB, free: 7.254 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009746/0.4409, allocations: 295.5 kB / 1.017 GB, free: 6.945 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003977/0.4414, allocations: 12 kB / 1.017 GB, free: 6.934 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/0.4427, allocations: 123.8 kB / 1.017 GB, free: 6.812 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/0.4429, allocations: 40.33 kB / 1.017 GB, free: 6.773 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.419e-05/0.443, allocations: 23.98 kB / 1.017 GB, free: 6.75 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001547/0.4445, allocations: 0.6637 MB / 1.018 GB, free: 6.078 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.8e-07/0.4445, allocations: 0 / 1.018 GB, free: 6.078 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00226/0.4468, allocations: 0.5535 MB / 1.018 GB, free: 5.523 MB / 0.6667 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.005767/0.4526, allocations: 2.284 MB / 1.021 GB, free: 3.195 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004032/0.4566, allocations: 1.377 MB / 1.022 GB, free: 1.824 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.4566, allocations: 0 / 1.022 GB, free: 1.824 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001281/0.4579, allocations: 492.8 kB / 1.022 GB, free: 1.344 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/0.4611, allocations: 0.515 MB / 1.023 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02277/0.4838, allocations: 9.269 MB / 1.032 GB, free: 7.191 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008826/0.4848, allocations: 1.066 MB / 1.033 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001352/0.4862, allocations: 232 kB / 1.033 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007357/0.4869, allocations: 415.3 kB / 1.034 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of SimCode: time 1.413e-06/0.4869, allocations: 4 kB / 1.034 GB, free: 5.457 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5415/1.028, allocations: 31.69 MB / 1.065 GB, free: 147.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/1.029, allocations: 291.4 kB / 1.065 GB, free: 147.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.37/4.399, allocations: 0 / 1.065 GB, free: 147.5 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)