Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 112.3 kB / 16.42 MB, free: 6.449 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.001648/0.001649, allocations: 189.6 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00212/0.00212, allocations: 287.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9319/0.9319, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 91.86 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4048, allocations: 86.99 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1223/0.5272, allocations: 130.8 MB / 0.8948 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03526/0.5625, allocations: 25.09 MB / 0.9193 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004522/0.5671, allocations: 139.2 kB / 0.9195 GB, free: 7.297 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004872/0.572, allocations: 1.731 MB / 0.9212 GB, free: 5.555 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01203/0.584, allocations: 4.502 MB / 0.9256 GB, free: 1.035 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008694/0.5928, allocations: 3.514 MB / 0.929 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01199/0.6048, allocations: 9.027 MB / 0.9378 GB, free: 4.496 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005516/0.6103, allocations: 3.199 MB / 0.9409 GB, free: 1.23 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007805/0.6181, allocations: 3.531 MB / 0.9444 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004387/0.6225, allocations: 2.469 MB / 0.9468 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001223/0.6238, allocations: 388 kB / 0.9472 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006753/0.6305, allocations: 2.898 MB / 0.95 GB, free: 7.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001415/0.632, allocations: 0.8799 MB / 0.9509 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003687/0.6357, allocations: 1.987 MB / 0.9528 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.3771/1.013, allocations: 6.348 MB / 0.959 GB, free: 60.33 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.013, allocations: 0.5312 kB / 0.959 GB, free: 60.33 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/1.013, allocations: 0 / 0.959 GB, free: 60.33 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001625/1.013, allocations: 0.5312 kB / 0.959 GB, free: 60.33 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.008665/1.022, allocations: 4.07 MB / 0.963 GB, free: 58.71 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.022, allocations: 8.25 kB / 0.963 GB, free: 58.71 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/1.032, allocations: 1.287 MB / 0.9642 GB, free: 58.54 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005082/1.037, allocations: 2.979 MB / 0.9671 GB, free: 57.93 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001908/1.038, allocations: 249.8 kB / 0.9674 GB, free: 57.86 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003818/1.038, allocations: 238.7 kB / 0.9676 GB, free: 57.85 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007233/1.045, allocations: 3.119 MB / 0.9707 GB, free: 57.37 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.064e-05/1.045, allocations: 9.062 kB / 0.9707 GB, free: 57.37 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002662/1.046, allocations: 98 kB / 0.9708 GB, free: 57.37 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.807e-05/1.046, allocations: 70.56 kB / 0.9708 GB, free: 57.37 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008132/1.054, allocations: 2.712 MB / 0.9735 GB, free: 57.31 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.01651/1.07, allocations: 13.23 MB / 0.9864 GB, free: 51.42 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00419/1.075, allocations: 1.387 MB / 0.9878 GB, free: 51.38 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002922/1.078, allocations: 0.87 MB / 0.9886 GB, free: 51.36 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001349/1.079, allocations: 1.778 MB / 0.9903 GB, free: 49.39 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003242/1.082, allocations: 1.139 MB / 0.9914 GB, free: 49.19 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 3.487e-06/1.082, allocations: 0 / 0.9914 GB, free: 49.19 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126): time 0.02084/1.103, allocations: 4.063 MB / 0.9954 GB, free: 48.73 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/1.103, allocations: 0.5783 MB / 0.996 GB, free: 48.04 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003748/1.107, allocations: 2.533 MB / 0.9985 GB, free: 47.79 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002693/1.107, allocations: 63.06 kB / 0.9985 GB, free: 47.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009404/1.108, allocations: 1.332 MB / 0.9998 GB, free: 47.29 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/1.109, allocations: 451.2 kB / 1 GB, free: 47.01 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006548/1.109, allocations: 462 kB / 1.001 GB, free: 46.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.335e-05/1.109, allocations: 306.6 kB / 1.001 GB, free: 46.68 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00339/1.113, allocations: 0.9482 MB / 1.002 GB, free: 46.65 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003678/1.116, allocations: 1.526 MB / 1.003 GB, free: 46 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006254/1.123, allocations: 2.159 MB / 1.006 GB, free: 45.51 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/1.123, allocations: 2.844 kB / 1.006 GB, free: 45.51 MB / 0.7169 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01065/1.133, allocations: 3.011 MB / 1.008 GB, free: 45.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/1.133, allocations: 38.86 kB / 1.008 GB, free: 45.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.72e-05/1.133, allocations: 16.19 kB / 1.008 GB, free: 45.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002297/1.136, allocations: 0.709 MB / 1.009 GB, free: 45.16 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/1.138, allocations: 495.1 kB / 1.01 GB, free: 45.15 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001903/1.14, allocations: 1.781 MB / 1.011 GB, free: 44.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004361/1.144, allocations: 414.6 kB / 1.012 GB, free: 43.97 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001822/1.145, allocations: 107.7 kB / 1.012 GB, free: 43.97 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004155/1.149, allocations: 1.439 MB / 1.013 GB, free: 43.88 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003602/1.152, allocations: 1.507 MB / 1.015 GB, free: 43.22 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006065/1.159, allocations: 2.13 MB / 1.017 GB, free: 42.71 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.923e-06/1.159, allocations: 3.969 kB / 1.017 GB, free: 42.71 MB / 0.7169 GB Notification: Performance of matching and sorting (n=223) (initialization_lambda0): time 0.01056/1.169, allocations: 2.988 MB / 1.02 GB, free: 42.43 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/1.169, allocations: 37.5 kB / 1.02 GB, free: 42.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.169, allocations: 13.25 kB / 1.02 GB, free: 42.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00225/1.171, allocations: 0.7063 MB / 1.021 GB, free: 42.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00252/1.174, allocations: 495 kB / 1.021 GB, free: 42.14 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/1.176, allocations: 1.786 MB / 1.023 GB, free: 41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004459/1.18, allocations: 349.6 kB / 1.023 GB, free: 40.86 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/1.181, allocations: 105.4 kB / 1.023 GB, free: 40.83 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,17), (2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005632/1.181, allocations: 298 kB / 1.023 GB, free: 40.64 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008359/1.182, allocations: 270.8 kB / 1.024 GB, free: 40.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/1.193, allocations: 2.499 MB / 1.026 GB, free: 39.33 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009657/1.203, allocations: 2.113 MB / 1.028 GB, free: 37.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/1.203, allocations: 0 / 1.028 GB, free: 37.66 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/1.204, allocations: 0.5765 MB / 1.029 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008821/1.205, allocations: 36.55 kB / 1.029 GB, free: 37.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003402/1.208, allocations: 188.8 kB / 1.029 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/1.209, allocations: 99.47 kB / 1.029 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01032/1.219, allocations: 2.955 MB / 1.032 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009326/1.228, allocations: 3.593 MB / 1.035 GB, free: 31.2 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002668/1.231, allocations: 0.8307 MB / 1.036 GB, free: 30.38 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002943/1.234, allocations: 1.763 MB / 1.038 GB, free: 28.62 MB / 0.7169 GB Notification: Performance of Backend: time 4.91e-07/1.234, allocations: 0 / 1.038 GB, free: 28.62 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01329/1.247, allocations: 3.887 MB / 1.042 GB, free: 24.89 MB / 0.7169 GB Notification: Performance of SimCode: time 0.01123/1.259, allocations: 6.199 MB / 1.048 GB, free: 18.73 MB / 0.7169 GB Notification: Performance of Templates: time 0.1252/1.384, allocations: 87.02 MB / 1.133 GB, free: 13.08 MB / 0.795 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)