Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009822/0.0009821, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009836/0.0009838, allocations: 182.2 kB / 16.92 MB, free: 6.922 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.404/1.404, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.013/1.013, allocations: 143.2 MB / 435.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000542/0.0005419, allocations: 8 kB / 0.517 GB, free: 11.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1797, allocations: 83.41 MB / 0.5985 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.4218/0.6016, allocations: 127.9 MB / 0.7234 GB, free: 4.152 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03908/0.6407, allocations: 25.05 MB / 0.7479 GB, free: 1.949 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005805/0.6465, allocations: 129.1 kB / 0.748 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005327/0.6519, allocations: 1.409 MB / 0.7494 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01358/0.6655, allocations: 4.166 MB / 0.7534 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00949/0.675, allocations: 3.207 MB / 0.7566 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01442/0.6894, allocations: 11.43 MB / 0.7677 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004877/0.6943, allocations: 2.526 MB / 0.7702 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006491/0.7009, allocations: 2.753 MB / 0.7729 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00429/0.7052, allocations: 2.294 MB / 0.7751 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00124/0.7064, allocations: 132 kB / 0.7752 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00851/0.715, allocations: 2.472 MB / 0.7777 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.7163, allocations: 0.6182 MB / 0.7783 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.003757/0.7201, allocations: 1.712 MB / 0.7799 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.008053/0.7282, allocations: 5.135 MB / 0.785 GB, free: 13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.7282, allocations: 0 / 0.785 GB, free: 13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.836e-06/0.7282, allocations: 0 / 0.785 GB, free: 13 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001879/0.7284, allocations: 0 / 0.785 GB, free: 13 MB / 0.6075 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.008193/0.7366, allocations: 3.375 MB / 0.7882 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.7367, allocations: 11.97 kB / 0.7883 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.7472, allocations: 1.37 MB / 0.7896 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005843/0.7531, allocations: 2.936 MB / 0.7925 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003233/0.7534, allocations: 251.9 kB / 0.7927 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006553/0.7541, allocations: 240 kB / 0.7929 GB, free: 4.637 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008707/0.7628, allocations: 3.165 MB / 0.796 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.552e-05/0.7629, allocations: 3.938 kB / 0.796 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000421/0.7633, allocations: 104 kB / 0.7961 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.866e-05/0.7634, allocations: 67.92 kB / 0.7962 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009356/0.7728, allocations: 2.792 MB / 0.7989 GB, free: 14.31 MB / 0.6231 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.02235/0.7952, allocations: 13.34 MB / 0.8119 GB, free: 360 kB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004298/0.7995, allocations: 1.416 MB / 0.8133 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003084/0.8026, allocations: 0.901 MB / 0.8142 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001891/0.8046, allocations: 1.789 MB / 0.816 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003683/0.8083, allocations: 1.173 MB / 0.8171 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=126): time 5.611e-06/0.8083, allocations: 0 / 0.8171 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of matching and sorting (n=126): time 0.02212/0.8304, allocations: 4.279 MB / 0.8213 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002806/0.8307, allocations: 0.5766 MB / 0.8218 GB, free: 5.566 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004894/0.8357, allocations: 2.516 MB / 0.8243 GB, free: 3.031 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0003626/0.8361, allocations: 57.7 kB / 0.8244 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.8374, allocations: 1.345 MB / 0.8257 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006538/0.8381, allocations: 445.7 kB / 0.8261 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003574/0.8384, allocations: 145.6 kB / 0.8262 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.8385, allocations: 305.1 kB / 0.8265 GB, free: 0.7188 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003814/0.8424, allocations: 0.972 MB / 0.8275 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004294/0.8467, allocations: 1.563 MB / 0.829 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007511/0.8542, allocations: 2.223 MB / 0.8312 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.8543, allocations: 4 kB / 0.8312 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01218/0.8664, allocations: 3.109 MB / 0.8342 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003635/0.8668, allocations: 479.7 kB / 0.8347 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/0.8669, allocations: 12 kB / 0.8347 GB, free: 7.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002732/0.8696, allocations: 0.7284 MB / 0.8354 GB, free: 7.047 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002904/0.8726, allocations: 0.4992 MB / 0.8359 GB, free: 6.547 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002609/0.8752, allocations: 1.804 MB / 0.8376 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005028/0.8802, allocations: 0.5062 MB / 0.8381 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004243/0.8807, allocations: 103.9 kB / 0.8382 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.8807, allocations: 5.719 kB / 0.8382 GB, free: 4.082 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01122/0.892, allocations: 2.81 MB / 0.841 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/0.892, allocations: 16.22 kB / 0.841 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002584/0.8946, allocations: 0.7159 MB / 0.8417 GB, free: 0.5273 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002876/0.8975, allocations: 0.4953 MB / 0.8422 GB, free: 32 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.9, allocations: 1.809 MB / 0.844 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00453/0.9046, allocations: 451.2 kB / 0.8444 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003976/0.905, allocations: 99.91 kB / 0.8445 GB, free: 13.64 MB / 0.67 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.00201/0.907, allocations: 0.7024 MB / 0.8452 GB, free: 12.93 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/0.9081, allocations: 280.6 kB / 0.8454 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/0.9203, allocations: 2.598 MB / 0.848 GB, free: 10.04 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.201e-05/0.9203, allocations: 12 kB / 0.848 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.9203, allocations: 4 kB / 0.848 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01069/0.931, allocations: 2.227 MB / 0.8502 GB, free: 7.746 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01738/0.9485, allocations: 6.516 MB / 0.8565 GB, free: 1.051 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.343e-05/0.9485, allocations: 8 kB / 0.8565 GB, free: 1.043 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/0.9504, allocations: 304.2 kB / 0.8568 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002553/0.953, allocations: 0.7077 MB / 0.8575 GB, free: 40 kB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.3154/1.268, allocations: 48.05 kB / 0.8576 GB, free: 201.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002423/1.271, allocations: 1.793 MB / 0.8593 GB, free: 200.5 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/1.271, allocations: 10.91 kB / 0.8593 GB, free: 200.5 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01153/1.282, allocations: 3.566 MB / 0.8628 GB, free: 200 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001826/1.284, allocations: 0.6695 MB / 0.8635 GB, free: 200 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009573/1.285, allocations: 43.75 kB / 0.8635 GB, free: 200 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003606/1.289, allocations: 281.2 kB / 0.8638 GB, free: 200 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/1.289, allocations: 113.5 kB / 0.8639 GB, free: 199.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/1.289, allocations: 77.53 kB / 0.8639 GB, free: 199.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003263/1.293, allocations: 1.757 MB / 0.8657 GB, free: 199.8 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.61e-07/1.293, allocations: 0 / 0.8657 GB, free: 199.8 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005595/1.298, allocations: 1.665 MB / 0.8673 GB, free: 199.8 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001865/1.3, allocations: 0.8216 MB / 0.8681 GB, free: 199.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01173/1.312, allocations: 3.614 MB / 0.8716 GB, free: 199.4 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.75e-05/1.312, allocations: 5.625 kB / 0.8716 GB, free: 199.4 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003282/1.315, allocations: 0.9868 MB / 0.8726 GB, free: 199.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01171/1.327, allocations: 1.427 MB / 0.874 GB, free: 198.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/1.341, allocations: 6.465 MB / 0.8803 GB, free: 195.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001685/1.343, allocations: 1.708 MB / 0.882 GB, free: 194.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/1.344, allocations: 280.4 kB / 0.8822 GB, free: 194.5 MB / 0.67 GB Notification: Performance of SimCode: time 9.72e-07/1.344, allocations: 0 / 0.8822 GB, free: 194.5 MB / 0.67 GB Notification: Performance of Templates: time 0.1032/1.448, allocations: 81.2 MB / 0.9615 GB, free: 145.7 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)