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.001559/0.001559, allocations: 116 kB / 16.42 MB, free: 6.488 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.001818/0.001818, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002114, allocations: 290.2 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.9348/0.9348, allocations: 169.2 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 95.86 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3915, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.1157/0.5073, allocations: 130.9 MB / 0.8948 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.03356/0.5409, allocations: 25.08 MB / 0.9193 GB, free: 7.453 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004897/0.5458, allocations: 135.2 kB / 0.9195 GB, free: 7.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004552/0.5504, allocations: 1.786 MB / 0.9212 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01156/0.562, allocations: 4.738 MB / 0.9258 GB, free: 0.7695 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.008251/0.5703, allocations: 3.522 MB / 0.9293 GB, free: 13.28 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01145/0.5817, allocations: 9.049 MB / 0.9381 GB, free: 4.199 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004937/0.5867, allocations: 3.195 MB / 0.9412 GB, free: 0.9375 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007065/0.5938, allocations: 3.542 MB / 0.9447 GB, free: 13.4 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003906/0.5977, allocations: 2.467 MB / 0.9471 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00097/0.5987, allocations: 392 kB / 0.9475 GB, free: 10.54 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006471/0.6052, allocations: 2.888 MB / 0.9503 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001214/0.6064, allocations: 0.8876 MB / 0.9512 GB, free: 6.758 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003127/0.6095, allocations: 1.98 MB / 0.9531 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.3877/0.9973, allocations: 6.356 MB / 0.9593 GB, free: 60.36 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.9973, allocations: 0.5 kB / 0.9593 GB, free: 60.36 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.9973, allocations: 0 / 0.9593 GB, free: 60.36 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001459/0.9975, allocations: 0.5938 kB / 0.9593 GB, free: 60.36 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.01186/1.009, allocations: 4.068 MB / 0.9633 GB, free: 58.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/1.009, allocations: 9.156 kB / 0.9633 GB, free: 58.75 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/1.02, allocations: 1.285 MB / 0.9645 GB, free: 58.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005584/1.026, allocations: 2.977 MB / 0.9674 GB, free: 57.96 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/1.026, allocations: 254.1 kB / 0.9677 GB, free: 57.89 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003937/1.026, allocations: 235.9 kB / 0.9679 GB, free: 57.89 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007009/1.033, allocations: 3.124 MB / 0.971 GB, free: 57.4 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.127e-05/1.033, allocations: 4.688 kB / 0.971 GB, free: 57.4 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002751/1.034, allocations: 101.6 kB / 0.9711 GB, free: 57.4 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.665e-05/1.034, allocations: 65.77 kB / 0.9711 GB, free: 57.4 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007869/1.042, allocations: 2.718 MB / 0.9738 GB, free: 57.35 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.01619/1.058, allocations: 13.22 MB / 0.9867 GB, free: 51.45 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003754/1.062, allocations: 1.391 MB / 0.9881 GB, free: 51.41 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002755/1.064, allocations: 0.8693 MB / 0.9889 GB, free: 51.39 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001359/1.066, allocations: 1.783 MB / 0.9906 GB, free: 49.42 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003296/1.069, allocations: 1.136 MB / 0.9918 GB, free: 49.22 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=126): time 3.797e-06/1.069, allocations: 1.75 kB / 0.9918 GB, free: 49.22 MB / 0.7169 GB Notification: Performance of matching and sorting (n=126): time 0.02118/1.09, allocations: 4.06 MB / 0.9957 GB, free: 48.76 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/1.09, allocations: 0.5766 MB / 0.9963 GB, free: 48.07 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004299/1.095, allocations: 2.537 MB / 0.9988 GB, free: 47.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0005611/1.095, allocations: 62.67 kB / 0.9988 GB, free: 47.79 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/1.096, allocations: 1.337 MB / 1 GB, free: 47.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000473/1.097, allocations: 447.5 kB / 1.001 GB, free: 47.05 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006543/1.098, allocations: 462.7 kB / 1.001 GB, free: 47.01 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.442e-05/1.098, allocations: 306.4 kB / 1.001 GB, free: 46.71 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003411/1.101, allocations: 0.9458 MB / 1.002 GB, free: 46.68 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003629/1.105, allocations: 1.522 MB / 1.004 GB, free: 46.04 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006221/1.111, allocations: 2.152 MB / 1.006 GB, free: 45.54 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/1.111, allocations: 5.922 kB / 1.006 GB, free: 45.54 MB / 0.7169 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01066/1.122, allocations: 3.014 MB / 1.009 GB, free: 45.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/1.122, allocations: 44.38 kB / 1.009 GB, free: 45.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/1.122, allocations: 11.38 kB / 1.009 GB, free: 45.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002311/1.124, allocations: 0.7052 MB / 1.009 GB, free: 45.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002525/1.126, allocations: 497.6 kB / 1.01 GB, free: 45.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/1.128, allocations: 1.781 MB / 1.012 GB, free: 44.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004402/1.133, allocations: 417.5 kB / 1.012 GB, free: 44 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/1.133, allocations: 108.9 kB / 1.012 GB, free: 44 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004143/1.137, allocations: 1.438 MB / 1.014 GB, free: 43.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003577/1.141, allocations: 1.507 MB / 1.015 GB, free: 43.25 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006052/1.147, allocations: 2.129 MB / 1.017 GB, free: 42.74 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.486e-06/1.147, allocations: 7.781 kB / 1.017 GB, free: 42.73 MB / 0.7169 GB Notification: Performance of matching and sorting (n=223) (initialization_lambda0): time 0.01053/1.157, allocations: 2.976 MB / 1.02 GB, free: 42.41 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.076e-05/1.157, allocations: 39.52 kB / 1.02 GB, free: 42.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/1.157, allocations: 12.12 kB / 1.02 GB, free: 42.38 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002213/1.16, allocations: 0.7103 MB / 1.021 GB, free: 42.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/1.162, allocations: 492.8 kB / 1.021 GB, free: 42.08 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/1.164, allocations: 1.783 MB / 1.023 GB, free: 40.94 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004602/1.169, allocations: 360.5 kB / 1.023 GB, free: 40.79 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000301/1.169, allocations: 102.4 kB / 1.023 GB, free: 40.77 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.0007755/1.17, allocations: 291.7 kB / 1.024 GB, free: 40.58 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007857/1.171, allocations: 277.4 kB / 1.024 GB, free: 40.44 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/1.182, allocations: 2.494 MB / 1.026 GB, free: 39.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009741/1.192, allocations: 2.119 MB / 1.029 GB, free: 37.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/1.192, allocations: 8 kB / 1.029 GB, free: 37.64 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001566/1.193, allocations: 0.5727 MB / 1.029 GB, free: 37.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005229/1.194, allocations: 29.31 kB / 1.029 GB, free: 37.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002917/1.197, allocations: 197.6 kB / 1.029 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/1.197, allocations: 101 kB / 1.029 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009726/1.207, allocations: 2.954 MB / 1.032 GB, free: 34.54 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009188/1.216, allocations: 3.585 MB / 1.036 GB, free: 31.27 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002684/1.218, allocations: 0.8344 MB / 1.037 GB, free: 30.44 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002803/1.221, allocations: 1.762 MB / 1.038 GB, free: 28.67 MB / 0.7169 GB Notification: Performance of Backend: time 1.222e-06/1.221, allocations: 0 / 1.038 GB, free: 28.67 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01339/1.235, allocations: 3.887 MB / 1.042 GB, free: 24.95 MB / 0.7169 GB Notification: Performance of SimCode: time 0.01096/1.246, allocations: 6.198 MB / 1.048 GB, free: 18.79 MB / 0.7169 GB Notification: Performance of Templates: time 0.1217/1.367, allocations: 87.03 MB / 1.133 GB, free: 13.13 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)