Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009468/0.0009469, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.007667/0.007667, allocations: 169.5 kB / 16.27 MB, free: 6.652 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.364/1.364, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.713/1.713, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.001024/0.001024, allocations: 17.53 kB / 0.6743 GB, free: 25.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.294, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06407/0.3581, allocations: 59.79 MB / 0.8463 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01733/0.3755, allocations: 11.83 MB / 0.8578 GB, free: 3.707 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002147/0.3777, allocations: 51.62 kB / 0.8579 GB, free: 3.656 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.3798, allocations: 0.5516 MB / 0.8584 GB, free: 3.102 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00565/0.3855, allocations: 1.784 MB / 0.8601 GB, free: 1.312 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.389, allocations: 1.103 MB / 0.8612 GB, free: 224 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006234/0.3952, allocations: 3.896 MB / 0.865 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.3978, allocations: 0.898 MB / 0.8659 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003805/0.4016, allocations: 1.128 MB / 0.867 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.4041, allocations: 0.8515 MB / 0.8678 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004764/0.4047, allocations: 40 kB / 0.8679 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003918/0.4086, allocations: 1.353 MB / 0.8692 GB, free: 8 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004742/0.4091, allocations: 222.8 kB / 0.8694 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.4106, allocations: 0.6389 MB / 0.87 GB, free: 7.133 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00453/0.4151, allocations: 2.212 MB / 0.8722 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4151, allocations: 0 / 0.8722 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4152, allocations: 0 / 0.8722 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.931e-05/0.4153, allocations: 0 / 0.8722 GB, free: 4.914 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004149/0.4194, allocations: 1.493 MB / 0.8737 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4195, allocations: 12.03 kB / 0.8737 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002438/0.4219, allocations: 474.8 kB / 0.8741 GB, free: 2.887 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002607/0.4245, allocations: 1.14 MB / 0.8752 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003832/0.4249, allocations: 125.9 kB / 0.8754 GB, free: 1.566 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.4251, allocations: 91.98 kB / 0.8754 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/0.4275, allocations: 1.003 MB / 0.8764 GB, free: 444 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.4275, allocations: 0 / 0.8764 GB, free: 444 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.431e-05/0.4276, allocations: 32 kB / 0.8764 GB, free: 412 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.4277, allocations: 20 kB / 0.8765 GB, free: 392 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.4304, allocations: 0.9368 MB / 0.8774 GB, free: 15.45 MB / 0.7012 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.007179/0.4376, allocations: 4.637 MB / 0.8819 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003718/0.4413, allocations: 0.9462 MB / 0.8828 GB, free: 9.547 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008232/0.4422, allocations: 348.9 kB / 0.8832 GB, free: 9.207 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006572/0.4428, allocations: 0.9068 MB / 0.8841 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.158e-05/0.4429, allocations: 39 kB / 0.8841 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.775e-06/0.4429, allocations: 0 / 0.8841 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.009558/0.4525, allocations: 2.228 MB / 0.8863 GB, free: 5.789 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.4525, allocations: 55.84 kB / 0.8863 GB, free: 5.723 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001775/0.4543, allocations: 1.059 MB / 0.8874 GB, free: 4.648 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.711e-05/0.4544, allocations: 37.7 kB / 0.8874 GB, free: 4.605 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004207/0.4548, allocations: 0.5197 MB / 0.8879 GB, free: 4.082 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.455, allocations: 169.6 kB / 0.8881 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.354e-05/0.4551, allocations: 49.69 kB / 0.8881 GB, free: 3.859 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4553, allocations: 326 kB / 0.8884 GB, free: 3.535 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009924/0.4563, allocations: 344.9 kB / 0.8887 GB, free: 3.195 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.4574, allocations: 0.532 MB / 0.8893 GB, free: 2.586 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001789/0.4592, allocations: 0.7363 MB / 0.89 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.4592, allocations: 0 / 0.89 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004326/0.4636, allocations: 1.253 MB / 0.8912 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.000152/0.4637, allocations: 188.2 kB / 0.8914 GB, free: 312 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.4638, allocations: 4 kB / 0.8914 GB, free: 308 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.4651, allocations: 328.6 kB / 0.8917 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/0.4657, allocations: 143.7 kB / 0.8918 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/0.4674, allocations: 0.9415 MB / 0.8928 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.4689, allocations: 187.3 kB / 0.8929 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.549e-05/0.469, allocations: 35.97 kB / 0.893 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.469, allocations: 4 kB / 0.893 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003593/0.4726, allocations: 1.096 MB / 0.894 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.4727, allocations: 4 kB / 0.8941 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001208/0.4739, allocations: 332.7 kB / 0.8944 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000573/0.4745, allocations: 131.8 kB / 0.8945 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.476, allocations: 0.9425 MB / 0.8954 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.4774, allocations: 171.3 kB / 0.8956 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.068e-05/0.4775, allocations: 31.98 kB / 0.8956 GB, free: 11.92 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.0006569/0.4782, allocations: 352.2 kB / 0.8959 GB, free: 11.57 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002921/0.4785, allocations: 122.6 kB / 0.8961 GB, free: 11.45 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00424/0.4827, allocations: 1.252 MB / 0.8973 GB, free: 10.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/0.4827, allocations: 8 kB / 0.8973 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.4828, allocations: 4 kB / 0.8973 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.4828, allocations: 3.984 kB / 0.8973 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00612/0.4889, allocations: 2.339 MB / 0.8996 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.4889, allocations: 4.281 kB / 0.8996 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003366/0.4893, allocations: 83.88 kB / 0.8997 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001241/0.4905, allocations: 332.5 kB / 0.9 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.421e-05/0.4906, allocations: 19.98 kB / 0.9 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001707/0.4923, allocations: 0.966 MB / 0.9009 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.4924, allocations: 4 kB / 0.901 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004409/0.4968, allocations: 1.322 MB / 0.9022 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009008/0.4977, allocations: 291.4 kB / 0.9025 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/0.498, allocations: 11.94 kB / 0.9025 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.4992, allocations: 111.8 kB / 0.9026 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.4993, allocations: 47.27 kB / 0.9027 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.823e-05/0.4994, allocations: 27.97 kB / 0.9027 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001693/0.5011, allocations: 0.7469 MB / 0.9034 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5011, allocations: 0 / 0.9034 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00204/0.5031, allocations: 0.5653 MB / 0.904 GB, free: 3.117 MB / 0.7169 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 (38): * Single equations (assignments): 33 * 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.0009423/0.5041, allocations: 394.7 kB / 0.9044 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003422/0.5075, allocations: 1.222 MB / 0.9056 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.5075, allocations: 0 / 0.9056 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009804/0.5085, allocations: 402.7 kB / 0.9059 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003143/0.5117, allocations: 0.5287 MB / 0.9065 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005701/0.5174, allocations: 2.56 MB / 0.909 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006849/0.5181, allocations: 1.066 MB / 0.91 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001082/0.5192, allocations: 236.8 kB / 0.9102 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000228/0.5194, allocations: 83.41 kB / 0.9103 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of SimCode: time 6.02e-07/0.5195, allocations: 0 / 0.9103 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.4363/0.9558, allocations: 24.71 MB / 0.9344 GB, free: 129.6 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) Environment - environmentSimulation: