Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.797/0.797, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 182.8 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 221.3 MB / 441.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008689/0.0008694, allocations: 88.67 kB / 0.5124 GB, free: 24.16 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001866/0.001867, allocations: 271.8 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.781e-05/3.783e-05, allocations: 4 kB / 0.6834 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5543/0.5543, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9606/1.515, allocations: 394.4 MB / 1.149 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/1.515, allocations: 97.83 kB / 1.149 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.07/3.586, allocations: 0.5579 GB / 1.707 GB, free: 19.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.773e-06/3.586, allocations: 0 / 1.707 GB, free: 19.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000148/3.586, allocations: 39.88 kB / 1.707 GB, free: 19.28 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.00417/3.59, allocations: 1.828 MB / 1.709 GB, free: 17.39 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/3.59, allocations: 12.03 kB / 1.709 GB, free: 17.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004746/3.595, allocations: 0.6691 MB / 1.71 GB, free: 16.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003869/3.599, allocations: 1.778 MB / 1.712 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/3.599, allocations: 132 kB / 1.712 GB, free: 14.73 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002147/3.599, allocations: 116 kB / 1.712 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/3.602, allocations: 1.452 MB / 1.713 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/3.602, allocations: 7.844 kB / 1.713 GB, free: 13.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/3.602, allocations: 52 kB / 1.713 GB, free: 13.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.027e-05/3.602, allocations: 50.17 kB / 1.713 GB, free: 12.96 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001778/3.604, allocations: 1.11 MB / 1.714 GB, free: 11.85 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.00926/3.613, allocations: 6.812 MB / 1.721 GB, free: 4.742 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008263/3.614, allocations: 0.5449 MB / 1.722 GB, free: 4.191 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/3.614, allocations: 342.5 kB / 1.722 GB, free: 3.855 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/3.615, allocations: 1.267 MB / 1.723 GB, free: 2.312 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/3.615, allocations: 51.05 kB / 1.723 GB, free: 2.254 MB / 0.698 GB Notification: Performance of pre-optimization done (n=64): time 2.916e-06/3.615, allocations: 0 / 1.723 GB, free: 2.254 MB / 0.698 GB Notification: Performance of matching and sorting (n=64): time 0.009337/3.625, allocations: 1.439 MB / 1.725 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/3.625, allocations: 111.4 kB / 1.725 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5267/4.151, allocations: 1.208 MB / 1.726 GB, free: 101.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004558/4.152, allocations: 43.17 kB / 1.726 GB, free: 101.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008115/4.153, allocations: 0.7063 MB / 1.727 GB, free: 101.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003207/4.153, allocations: 225.8 kB / 1.727 GB, free: 101 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.862e-05/4.153, allocations: 18.19 kB / 1.727 GB, free: 101 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001353/4.153, allocations: 342.2 kB / 1.727 GB, free: 100.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009413/4.154, allocations: 330.9 kB / 1.728 GB, free: 100.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/4.155, allocations: 0.6041 MB / 1.728 GB, free: 100.4 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009381/4.156, allocations: 388.6 kB / 1.729 GB, free: 100.4 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/4.156, allocations: 2.156 kB / 1.729 GB, free: 100.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01185/4.168, allocations: 1.733 MB / 1.73 GB, free: 100.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000722/4.169, allocations: 2.491 MB / 1.733 GB, free: 97.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/4.169, allocations: 6.312 kB / 1.733 GB, free: 97.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/4.171, allocations: 418.2 kB / 1.733 GB, free: 97.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/4.172, allocations: 253.2 kB / 1.733 GB, free: 97.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/4.174, allocations: 0.9037 MB / 1.734 GB, free: 97.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003199/4.177, allocations: 287.9 kB / 1.734 GB, free: 97.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/4.177, allocations: 55.33 kB / 1.735 GB, free: 97.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/4.177, allocations: 3.094 kB / 1.735 GB, free: 97.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009542/4.187, allocations: 1.57 MB / 1.736 GB, free: 97.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.698e-05/4.187, allocations: 11.86 kB / 1.736 GB, free: 97.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/4.188, allocations: 417.9 kB / 1.736 GB, free: 97.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/4.19, allocations: 258.6 kB / 1.737 GB, free: 97.15 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000918/4.191, allocations: 0.8996 MB / 1.738 GB, free: 96.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002758/4.193, allocations: 242.8 kB / 1.738 GB, free: 96.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/4.193, allocations: 54.47 kB / 1.738 GB, free: 96.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005076/4.194, allocations: 169.7 kB / 1.738 GB, free: 96.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004317/4.194, allocations: 144.1 kB / 1.738 GB, free: 96.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/4.197, allocations: 0.9341 MB / 1.739 GB, free: 96.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/4.197, allocations: 10.83 kB / 1.739 GB, free: 96.35 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/4.197, allocations: 0 / 1.739 GB, free: 96.35 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001291/4.198, allocations: 0.8155 MB / 1.74 GB, free: 96.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006807/4.205, allocations: 2.697 MB / 1.743 GB, free: 95.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/4.205, allocations: 7.625 kB / 1.743 GB, free: 95.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009534/4.206, allocations: 154.3 kB / 1.743 GB, free: 95.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001525/4.208, allocations: 416.4 kB / 1.743 GB, free: 95.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.86e-05/4.208, allocations: 27.11 kB / 1.743 GB, free: 95.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/4.209, allocations: 0.9007 MB / 1.744 GB, free: 95.15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.149e-05/4.209, allocations: 10.34 kB / 1.744 GB, free: 95.15 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003313/4.212, allocations: 1.722 MB / 1.746 GB, free: 94.39 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/4.213, allocations: 396.1 kB / 1.746 GB, free: 94.23 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/4.214, allocations: 21.36 kB / 1.746 GB, free: 94.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/4.215, allocations: 154.3 kB / 1.746 GB, free: 94.22 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/4.215, allocations: 45.34 kB / 1.746 GB, free: 94.22 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/4.216, allocations: 49.53 kB / 1.746 GB, free: 94.22 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001603/4.217, allocations: 0.9684 MB / 1.747 GB, free: 94.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/4.217, allocations: 3.656 kB / 1.747 GB, free: 94.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003316/4.221, allocations: 0.9847 MB / 1.748 GB, free: 94.06 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00192/4.222, allocations: 0.8827 MB / 1.749 GB, free: 93.92 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003134/4.226, allocations: 1.353 MB / 1.75 GB, free: 93.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/4.226, allocations: 3.938 kB / 1.75 GB, free: 93.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007504/4.226, allocations: 391.2 kB / 1.751 GB, free: 93.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004245/4.231, allocations: 0.7906 MB / 1.752 GB, free: 93.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004198/4.235, allocations: 1.967 MB / 1.753 GB, free: 93.24 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005748/4.235, allocations: 1.234 MB / 1.755 GB, free: 92.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002352/4.238, allocations: 465.5 kB / 1.755 GB, free: 92.51 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/4.238, allocations: 102.8 kB / 1.755 GB, free: 92.5 MB / 0.698 GB Notification: Performance of SimCode: time 1.292e-06/4.238, allocations: 1.875 kB / 1.755 GB, free: 92.5 MB / 0.698 GB Notification: Performance of Templates: time 0.06907/4.307, allocations: 43.1 MB / 1.797 GB, free: 90.68 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)