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.001049/0.001048, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007737/0.007737, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.438/1.438, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.669/1.669, 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.0006396/0.0006396, allocations: 14.03 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.2162, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.1046/0.3209, allocations: 112.9 MB / 0.8982 GB, free: 10.26 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.5485/0.8694, allocations: 20.57 MB / 0.9182 GB, free: 39.59 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004895/0.8744, allocations: 94.34 kB / 0.9183 GB, free: 39.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005637/0.88, allocations: 1.377 MB / 0.9197 GB, free: 39.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01339/0.8935, allocations: 3.64 MB / 0.9232 GB, free: 39.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007792/0.9013, allocations: 2.644 MB / 0.9258 GB, free: 39.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01499/0.9163, allocations: 10.33 MB / 0.9359 GB, free: 39.03 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005019/0.9213, allocations: 2.199 MB / 0.9381 GB, free: 38.67 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006535/0.9279, allocations: 2.473 MB / 0.9405 GB, free: 38.36 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005053/0.933, allocations: 2.243 MB / 0.9427 GB, free: 37.96 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0008452/0.9339, allocations: 139.5 kB / 0.9428 GB, free: 37.95 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006151/0.94, allocations: 1.814 MB / 0.9446 GB, free: 37.78 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001277/0.9413, allocations: 0.7406 MB / 0.9453 GB, free: 37.64 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.004351/0.9457, allocations: 1.637 MB / 0.9469 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009946/0.9557, allocations: 5.251 MB / 0.952 GB, free: 36.13 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.545e-06/0.9557, allocations: 2.875 kB / 0.952 GB, free: 36.13 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.365e-06/0.9557, allocations: 0 / 0.952 GB, free: 36.13 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001592/0.9559, allocations: 0 / 0.952 GB, free: 36.13 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.008318/0.9642, allocations: 3.222 MB / 0.9552 GB, free: 34.12 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.9643, allocations: 6.625 kB / 0.9552 GB, free: 34.12 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/0.9676, allocations: 0.6419 MB / 0.9558 GB, free: 33.84 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004596/0.9722, allocations: 2.559 MB / 0.9583 GB, free: 32.7 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002822/0.9725, allocations: 308.2 kB / 0.9586 GB, free: 32.55 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003915/0.9729, allocations: 207 kB / 0.9588 GB, free: 32.54 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004489/0.9774, allocations: 2.605 MB / 0.9613 GB, free: 31.67 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.744e-05/0.9775, allocations: 3.938 kB / 0.9613 GB, free: 31.67 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002325/0.9777, allocations: 90.16 kB / 0.9614 GB, free: 31.67 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.712e-05/0.9778, allocations: 66.34 kB / 0.9615 GB, free: 31.66 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004385/0.9822, allocations: 2.296 MB / 0.9637 GB, free: 30.66 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.01404/0.9962, allocations: 11.47 MB / 0.9749 GB, free: 21.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.9989, allocations: 1.35 MB / 0.9762 GB, free: 20.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/1.001, allocations: 0.8549 MB / 0.9771 GB, free: 19.97 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007892/1.001, allocations: 1.326 MB / 0.9784 GB, free: 18.43 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002077/1.003, allocations: 1.092 MB / 0.9794 GB, free: 17.73 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=115): time 3.096e-06/1.003, allocations: 0 / 0.9794 GB, free: 17.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=115): time 0.005598/1.009, allocations: 2.498 MB / 0.9819 GB, free: 16.49 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.818e-05/1.009, allocations: 488.3 kB / 0.9823 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003339/1.012, allocations: 2.663 MB / 0.9849 GB, free: 14.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002493/1.013, allocations: 55.92 kB / 0.985 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/1.014, allocations: 1.308 MB / 0.9863 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004133/1.014, allocations: 402.2 kB / 0.9867 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000188/1.014, allocations: 129.4 kB / 0.9868 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.303e-05/1.014, allocations: 301.1 kB / 0.9871 GB, free: 12.58 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/1.016, allocations: 0.8089 MB / 0.9879 GB, free: 12.17 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/1.018, allocations: 1.343 MB / 0.9892 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/1.021, allocations: 1.94 MB / 0.9911 GB, free: 9.828 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/1.021, allocations: 3.562 kB / 0.9911 GB, free: 9.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005397/1.027, allocations: 2.325 MB / 0.9933 GB, free: 8.035 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001734/1.027, allocations: 431.6 kB / 0.9938 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/1.027, allocations: 11.98 kB / 0.9938 GB, free: 7.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.11e-05/1.027, allocations: 23.94 kB / 0.9938 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/1.029, allocations: 427.3 kB / 0.9942 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/1.029, allocations: 23.94 kB / 0.9942 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/1.031, allocations: 337.7 kB / 0.9945 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/1.031, allocations: 71.91 kB / 0.9946 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.702e-06/1.031, allocations: 4 kB / 0.9946 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003659/1.035, allocations: 2.055 MB / 0.9966 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/1.035, allocations: 12 kB / 0.9966 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.035, allocations: 16 kB / 0.9966 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/1.037, allocations: 427.7 kB / 0.9971 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.014e-05/1.037, allocations: 27.92 kB / 0.9971 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/1.04, allocations: 306.1 kB / 0.9974 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001393/1.04, allocations: 67.98 kB / 0.9974 GB, free: 3.684 MB / 0.7169 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.001556/1.041, allocations: 0.6841 MB / 0.9981 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005509/1.042, allocations: 284.6 kB / 0.9984 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003886/1.046, allocations: 2.17 MB / 1 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/1.046, allocations: 12 kB / 1.001 GB, free: 0.5312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/1.046, allocations: 7.938 kB / 1.001 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003346/1.049, allocations: 1.723 MB / 1.002 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00926/1.058, allocations: 5.276 MB / 1.007 GB, free: 9.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/1.059, allocations: 12.16 kB / 1.007 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001426/1.06, allocations: 287.6 kB / 1.008 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/1.06, allocations: 8 kB / 1.008 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/1.06, allocations: 35.98 kB / 1.008 GB, free: 9.078 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.656e-05/1.06, allocations: 23.92 kB / 1.008 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.189e-06/1.06, allocations: 4 kB / 1.008 GB, free: 9.051 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006484/1.067, allocations: 3.202 MB / 1.011 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/1.068, allocations: 0.6299 MB / 1.011 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004303/1.069, allocations: 31.98 kB / 1.011 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00197/1.071, allocations: 178.3 kB / 1.012 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002616/1.071, allocations: 120.7 kB / 1.012 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001451/1.071, allocations: 59.95 kB / 1.012 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002918/1.074, allocations: 1.852 MB / 1.014 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.21e-07/1.074, allocations: 0 / 1.014 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004307/1.078, allocations: 1.427 MB / 1.015 GB, free: 1.484 MB / 0.7325 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.001569/1.08, allocations: 0.6501 MB / 1.016 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006547/1.087, allocations: 3.121 MB / 1.019 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.087, allocations: 1.188 kB / 1.019 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.00209/1.089, allocations: 0.9673 MB / 1.02 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009521/1.098, allocations: 1.397 MB / 1.021 GB, free: 11.39 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008876/1.107, allocations: 5.902 MB / 1.027 GB, free: 5.398 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/1.108, allocations: 1.759 MB / 1.028 GB, free: 3.609 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.003455/1.112, allocations: 0.714 MB / 1.029 GB, free: 2.914 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008267/1.113, allocations: 227.4 kB / 1.029 GB, free: 2.691 MB / 0.7481 GB Notification: Performance of SimCode: time 1.012e-06/1.113, allocations: 4 kB / 1.029 GB, free: 2.688 MB / 0.7481 GB Notification: Performance of Templates: time 0.09764/1.21, allocations: 57.52 MB / 1.086 GB, free: 9.961 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: