Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 196.6 kB / 16.53 MB, free: 6.699 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.378/1.378, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.688/1.688, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001541/0.001541, allocations: 67.52 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2733, allocations: 114.5 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1108/0.3842, allocations: 115.5 MB / 0.8962 GB, free: 9.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5311/0.9153, allocations: 20.71 MB / 0.9164 GB, free: 40.58 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006059/0.9214, allocations: 117 kB / 0.9165 GB, free: 40.58 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006273/0.9278, allocations: 1.635 MB / 0.9181 GB, free: 40.58 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01509/0.9429, allocations: 3.927 MB / 0.922 GB, free: 40.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01147/0.9544, allocations: 2.858 MB / 0.9248 GB, free: 40.35 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01495/0.9694, allocations: 7.969 MB / 0.9325 GB, free: 40.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007949/0.9774, allocations: 2.684 MB / 0.9352 GB, free: 40.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01203/0.9895, allocations: 2.983 MB / 0.9381 GB, free: 39.52 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006365/0.9959, allocations: 2.36 MB / 0.9404 GB, free: 39.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.002958/0.9988, allocations: 328.4 kB / 0.9407 GB, free: 39.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01107/1.01, allocations: 2.043 MB / 0.9427 GB, free: 38.87 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.002514/1.012, allocations: 0.9375 MB / 0.9436 GB, free: 38.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.007378/1.02, allocations: 1.839 MB / 0.9454 GB, free: 38.22 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.01454/1.034, allocations: 5.477 MB / 0.9508 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.776e-06/1.035, allocations: 4 kB / 0.9508 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/1.035, allocations: 3.938 kB / 0.9508 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0002214/1.035, allocations: 1.281 kB / 0.9508 GB, free: 36.45 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01337/1.048, allocations: 3.856 MB / 0.9545 GB, free: 34.18 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/1.048, allocations: 9.688 kB / 0.9545 GB, free: 34.18 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004041/1.052, allocations: 0.5794 MB / 0.9551 GB, free: 33.99 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006705/1.059, allocations: 2.488 MB / 0.9575 GB, free: 32.6 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005064/1.06, allocations: 304.7 kB / 0.9578 GB, free: 32.39 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008054/1.06, allocations: 197.8 kB / 0.958 GB, free: 32.32 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007237/1.068, allocations: 2.573 MB / 0.9605 GB, free: 30.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.822e-05/1.068, allocations: 10.41 kB / 0.9605 GB, free: 30.65 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005163/1.068, allocations: 84.56 kB / 0.9606 GB, free: 30.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.292e-05/1.068, allocations: 61.36 kB / 0.9607 GB, free: 30.58 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005517/1.074, allocations: 2.221 MB / 0.9628 GB, free: 29.44 MB / 0.7169 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.01936/1.093, allocations: 11.49 MB / 0.9741 GB, free: 19.83 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003302/1.097, allocations: 1.309 MB / 0.9753 GB, free: 19.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001798/1.098, allocations: 0.819 MB / 0.9761 GB, free: 18.72 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009093/1.099, allocations: 1.321 MB / 0.9774 GB, free: 17.18 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002522/1.102, allocations: 1.063 MB / 0.9785 GB, free: 16.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=115): time 4.478e-06/1.102, allocations: 4 kB / 0.9785 GB, free: 16.47 MB / 0.7169 GB Notification: Performance of matching and sorting (n=115): time 0.006594/1.109, allocations: 2.382 MB / 0.9808 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001677/1.109, allocations: 490 kB / 0.9813 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005311/1.114, allocations: 2.682 MB / 0.9839 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.000417/1.115, allocations: 56.39 kB / 0.9839 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001266/1.116, allocations: 1.307 MB / 0.9852 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007043/1.117, allocations: 402.9 kB / 0.9856 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009275/1.117, allocations: 340.3 kB / 0.9859 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.889e-05/1.118, allocations: 305.1 kB / 0.9862 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001852/1.119, allocations: 0.7794 MB / 0.987 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/1.122, allocations: 1.304 MB / 0.9883 GB, free: 9.73 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003658/1.125, allocations: 1.866 MB / 0.9901 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/1.125, allocations: 5.156 kB / 0.9901 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005478/1.131, allocations: 2.257 MB / 0.9923 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.781e-05/1.131, allocations: 33.7 kB / 0.9923 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/1.131, allocations: 12 kB / 0.9923 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.482e-05/1.131, allocations: 20 kB / 0.9923 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/1.132, allocations: 415.8 kB / 0.9927 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-05/1.133, allocations: 27.81 kB / 0.9928 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002904/1.135, allocations: 269.7 kB / 0.993 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001662/1.136, allocations: 63.98 kB / 0.9931 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002669/1.138, allocations: 1.281 MB / 0.9943 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001773/1.14, allocations: 1.299 MB / 0.9956 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003028/1.143, allocations: 1.856 MB / 0.9974 GB, free: 0.7852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.33e-06/1.143, allocations: 3.938 kB / 0.9974 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.005124/1.148, allocations: 2.246 MB / 0.9996 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/1.148, allocations: 41.69 kB / 0.9997 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.554e-05/1.148, allocations: 8 kB / 0.9997 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/1.148, allocations: 20 kB / 0.9997 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/1.15, allocations: 407.8 kB / 1 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.222e-05/1.15, allocations: 19.94 kB / 1 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00285/1.153, allocations: 215.2 kB / 1 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/1.153, allocations: 67.97 kB / 1 GB, free: 13.75 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 (uMod.count,$PRE.uMod.count,uMod.T_start,$PRE.uMod.T_start,reaToInt.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005343/1.154, allocations: 287.7 kB / 1.001 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006819/1.154, allocations: 276.6 kB / 1.001 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00454/1.159, allocations: 2.1 MB / 1.003 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.486e-05/1.159, allocations: 15.98 kB / 1.003 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/1.159, allocations: 4 kB / 1.003 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003339/1.162, allocations: 1.649 MB / 1.005 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0104/1.173, allocations: 5.225 MB / 1.01 GB, free: 4.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/1.173, allocations: 8 kB / 1.01 GB, free: 4.094 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/1.174, allocations: 267.6 kB / 1.01 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.65e-05/1.174, allocations: 12 kB / 1.01 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/1.174, allocations: 31.98 kB / 1.01 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.198e-05/1.174, allocations: 16.05 kB / 1.01 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.174, allocations: 15.94 kB / 1.01 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006555/1.181, allocations: 3.078 MB / 1.013 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/1.183, allocations: 0.5871 MB / 1.014 GB, free: 8 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001077/1.184, allocations: 33.09 kB / 1.014 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002182/1.186, allocations: 115.8 kB / 1.014 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/1.186, allocations: 116.7 kB / 1.014 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000162/1.187, allocations: 67.94 kB / 1.014 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002801/1.189, allocations: 1.868 MB / 1.016 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.81e-07/1.189, allocations: 0 / 1.016 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005335/1.195, allocations: 1.446 MB / 1.017 GB, free: 12.38 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,reaToInt.y,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001784/1.197, allocations: 0.6733 MB / 1.018 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00793/1.205, allocations: 3.167 MB / 1.021 GB, free: 8.578 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.817e-05/1.205, allocations: 9.312 kB / 1.021 GB, free: 8.566 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.002129/1.207, allocations: 0.9304 MB / 1.022 GB, free: 7.637 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00791/1.215, allocations: 1.398 MB / 1.023 GB, free: 6.277 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00937/1.224, allocations: 4.848 MB / 1.028 GB, free: 1.352 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001431/1.226, allocations: 1.762 MB / 1.03 GB, free: 15.56 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003616/1.229, allocations: 0.7108 MB / 1.03 GB, free: 14.88 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008311/1.23, allocations: 215.4 kB / 1.031 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of SimCode: time 5.91e-07/1.23, allocations: 0 / 1.031 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of Templates: time 0.09409/1.324, allocations: 57.04 MB / 1.086 GB, free: 6.418 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)