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.001255/0.001255, allocations: 106.5 kB / 16.36 MB, free: 6.258 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.001169/0.001169, allocations: 189.7 kB / 17.3 MB, free: 5.848 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.334/1.334, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.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.773/1.773, allocations: 292.3 MB / 0.5496 GB, free: 17.49 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.001421/0.001421, allocations: 67.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2036, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor): time 0.4616/0.6652, allocations: 115.6 MB / 0.8976 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03138/0.6966, allocations: 20.72 MB / 0.9179 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004673/0.7013, allocations: 112.2 kB / 0.918 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004478/0.7058, allocations: 1.639 MB / 0.9196 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01172/0.7176, allocations: 3.921 MB / 0.9234 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007891/0.7255, allocations: 2.883 MB / 0.9262 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01093/0.7364, allocations: 7.987 MB / 0.934 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003735/0.7402, allocations: 2.685 MB / 0.9366 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006252/0.7464, allocations: 2.989 MB / 0.9396 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003815/0.7503, allocations: 2.357 MB / 0.9419 GB, free: 9.434 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005923/0.7509, allocations: 328 kB / 0.9422 GB, free: 9.113 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0049/0.7558, allocations: 2.036 MB / 0.9442 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0009918/0.7568, allocations: 0.9384 MB / 0.9451 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002216/0.759, allocations: 1.831 MB / 0.9469 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007578/0.7666, allocations: 5.523 MB / 0.9523 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7666, allocations: 0 / 0.9523 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.382e-06/0.7666, allocations: 4 kB / 0.9523 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.099e-05/0.7667, allocations: 0 / 0.9523 GB, free: 14.75 MB / 0.7481 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.006855/0.7736, allocations: 3.855 MB / 0.956 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.7736, allocations: 8.031 kB / 0.956 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00275/0.7764, allocations: 0.586 MB / 0.9566 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004444/0.7808, allocations: 2.61 MB / 0.9592 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002914/0.7811, allocations: 302.6 kB / 0.9594 GB, free: 7.234 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/0.7814, allocations: 207.9 kB / 0.9596 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004725/0.7862, allocations: 2.552 MB / 0.9621 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.45e-05/0.7862, allocations: 3.938 kB / 0.9621 GB, free: 4.352 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/0.7865, allocations: 84 kB / 0.9622 GB, free: 4.27 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.303e-05/0.7865, allocations: 63.92 kB / 0.9623 GB, free: 4.207 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004735/0.7913, allocations: 2.232 MB / 0.9645 GB, free: 1.973 MB / 0.7481 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.0151/0.8064, allocations: 11.41 MB / 0.9756 GB, free: 6.066 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002969/0.8094, allocations: 1.312 MB / 0.9769 GB, free: 4.746 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/0.8111, allocations: 0.8118 MB / 0.9777 GB, free: 3.934 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.8122, allocations: 1.323 MB / 0.979 GB, free: 2.316 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002174/0.8144, allocations: 1.062 MB / 0.98 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=115): time 3.597e-06/0.8144, allocations: 0 / 0.98 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of matching and sorting (n=115): time 0.005933/0.8203, allocations: 2.391 MB / 0.9823 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002213/0.8206, allocations: 487.6 kB / 0.9828 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003776/0.8244, allocations: 2.684 MB / 0.9854 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002153/0.8246, allocations: 57.7 kB / 0.9855 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001244/0.8259, allocations: 1.299 MB / 0.9867 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004368/0.8263, allocations: 402.2 kB / 0.9871 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005671/0.8269, allocations: 339.3 kB / 0.9875 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.827, allocations: 309.1 kB / 0.9877 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/0.8288, allocations: 0.7816 MB / 0.9885 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.8311, allocations: 1.301 MB / 0.9898 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003711/0.8348, allocations: 1.864 MB / 0.9916 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.8349, allocations: 4 kB / 0.9916 GB, free: 4.781 MB / 0.7794 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.005203/0.8401, allocations: 2.252 MB / 0.9938 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.819e-05/0.8401, allocations: 45.69 kB / 0.9938 GB, free: 2.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/0.8402, allocations: 9.609 kB / 0.9939 GB, free: 2.453 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/0.8402, allocations: 20 kB / 0.9939 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001763/0.842, allocations: 407.3 kB / 0.9943 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.028e-05/0.842, allocations: 27.92 kB / 0.9943 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/0.8442, allocations: 261.7 kB / 0.9945 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.8443, allocations: 71.97 kB / 0.9946 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002667/0.847, allocations: 1.281 MB / 0.9959 GB, free: 404 kB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002303/0.8493, allocations: 1.301 MB / 0.9971 GB, free: 14.88 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00366/0.853, allocations: 1.845 MB / 0.9989 GB, free: 12.89 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.057e-05/0.853, allocations: 10.52 kB / 0.9989 GB, free: 12.88 MB / 0.795 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.005084/0.8581, allocations: 2.248 MB / 1.001 GB, free: 10.62 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.8582, allocations: 42.61 kB / 1.001 GB, free: 10.57 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.8582, allocations: 12 kB / 1.001 GB, free: 10.56 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.8582, allocations: 20 kB / 1.001 GB, free: 10.54 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001836/0.8601, allocations: 403.4 kB / 1.002 GB, free: 10.14 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.657e-05/0.8601, allocations: 27.86 kB / 1.002 GB, free: 10.12 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/0.8624, allocations: 208.4 kB / 1.002 GB, free: 9.914 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.8626, allocations: 67.98 kB / 1.002 GB, free: 9.848 MB / 0.795 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.0004644/0.863, allocations: 291.7 kB / 1.002 GB, free: 9.555 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005855/0.8636, allocations: 276.6 kB / 1.002 GB, free: 9.281 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00468/0.8683, allocations: 2.099 MB / 1.004 GB, free: 7.164 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003547/0.8719, allocations: 1.641 MB / 1.006 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.8719, allocations: 0 / 1.006 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/0.8732, allocations: 0.5754 MB / 1.007 GB, free: 4.879 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/0.8736, allocations: 27.94 kB / 1.007 GB, free: 4.852 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001716/0.8753, allocations: 125 kB / 1.007 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.8756, allocations: 92.88 kB / 1.007 GB, free: 4.637 MB / 0.795 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004903/0.8805, allocations: 2.139 MB / 1.009 GB, free: 2.492 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006597/0.8871, allocations: 3.371 MB / 1.012 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001779/0.8889, allocations: 0.8549 MB / 1.013 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002721/0.8916, allocations: 1.856 MB / 1.015 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of Backend: time 4.91e-07/0.8916, allocations: 0 / 1.015 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.007952/0.8996, allocations: 3.081 MB / 1.018 GB, free: 9.316 MB / 0.8106 GB Notification: Performance of SimCode: time 0.01141/0.911, allocations: 5.749 MB / 1.024 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of Templates: time 0.1065/1.018, allocations: 68.61 MB / 1.091 GB, free: 15.73 MB / 0.8887 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)