Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.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.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.001419, allocations: 103.2 kB / 16.27 MB, free: 5.961 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.001404/0.001404, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.32/1.32, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002153/0.002153, allocations: 284.8 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9928/0.9928, allocations: 169.3 MB / 0.4988 GB, free: 4.512 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 98.66 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1586, allocations: 86.98 MB / 0.6808 GB, free: 8.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor): time 0.003324/0.162, allocations: 2.015 MB / 0.6828 GB, free: 6.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002405/0.1644, allocations: 1.66 MB / 0.6844 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1646, allocations: 0 / 0.6844 GB, free: 4.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.783e-05/0.1647, allocations: 23.8 kB / 0.6845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.1648, allocations: 47.55 kB / 0.6845 GB, free: 4.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.166, allocations: 362.8 kB / 0.6848 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002909/0.1663, allocations: 223.2 kB / 0.6851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.1665, allocations: 57.78 kB / 0.6851 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.1666, allocations: 87.66 kB / 0.6852 GB, free: 3.695 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001731/0.1668, allocations: 95.66 kB / 0.6853 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.1669, allocations: 24 kB / 0.6853 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008527/0.1677, allocations: 399.5 kB / 0.6857 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.601e-05/0.1678, allocations: 39.91 kB / 0.6857 GB, free: 3.148 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.256e-05/0.1679, allocations: 91.64 kB / 0.6858 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007283/0.1686, allocations: 438.9 kB / 0.6862 GB, free: 2.629 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1686, allocations: 0 / 0.6862 GB, free: 2.629 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1686, allocations: 0 / 0.6862 GB, free: 2.629 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.026e-06/0.1687, allocations: 0 / 0.6862 GB, free: 2.629 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.001004/0.1697, allocations: 0.5264 MB / 0.6867 GB, free: 2.051 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.1697, allocations: 8.031 kB / 0.6868 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001177/0.1709, allocations: 136.7 kB / 0.6869 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001565/0.1711, allocations: 176.2 kB / 0.6871 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.416e-05/0.1712, allocations: 50.25 kB / 0.6871 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.1712, allocations: 16.38 kB / 0.6871 GB, free: 1.629 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005793/0.1718, allocations: 219 kB / 0.6873 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1718, allocations: 3.938 kB / 0.6873 GB, free: 1.406 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.1719, allocations: 11.98 kB / 0.6873 GB, free: 1.395 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.1719, allocations: 4 kB / 0.6873 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007519/0.1726, allocations: 231.9 kB / 0.6876 GB, free: 1.164 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.1742, allocations: 0.9701 MB / 0.6885 GB, free: 72 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3171/0.4913, allocations: 181.7 kB / 0.6887 GB, free: 17.98 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004227/0.4918, allocations: 111.4 kB / 0.6888 GB, free: 17.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000609/0.4924, allocations: 0.5195 MB / 0.6893 GB, free: 17.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.4924, allocations: 32.19 kB / 0.6893 GB, free: 17.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.405e-06/0.4924, allocations: 0 / 0.6893 GB, free: 17.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.001239/0.4937, allocations: 334.9 kB / 0.6896 GB, free: 17.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.4937, allocations: 53.94 kB / 0.6897 GB, free: 17.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.4939, allocations: 165.6 kB / 0.6899 GB, free: 17.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.4939, allocations: 28.55 kB / 0.6899 GB, free: 17.15 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.494, allocations: 115.8 kB / 0.69 GB, free: 17.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.703e-05/0.494, allocations: 57.97 kB / 0.6901 GB, free: 17.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.49e-05/0.4941, allocations: 47.97 kB / 0.6901 GB, free: 17 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.739e-05/0.4942, allocations: 327.2 kB / 0.6904 GB, free: 16.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/0.4946, allocations: 104.8 kB / 0.6905 GB, free: 16.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003657/0.4949, allocations: 124.3 kB / 0.6906 GB, free: 16.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006679/0.4956, allocations: 196.6 kB / 0.6908 GB, free: 16.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.4956, allocations: 2.438 kB / 0.6908 GB, free: 16.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008065/0.4964, allocations: 267 kB / 0.6911 GB, free: 16.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4965, allocations: 6.125 kB / 0.6911 GB, free: 16.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.4965, allocations: 0 / 0.6911 GB, free: 16.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.4965, allocations: 5.406 kB / 0.6911 GB, free: 16.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003819/0.4969, allocations: 54.67 kB / 0.6911 GB, free: 16.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.4969, allocations: 2.203 kB / 0.6911 GB, free: 16.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002891/0.4972, allocations: 31.38 kB / 0.6912 GB, free: 16.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.4972, allocations: 10.17 kB / 0.6912 GB, free: 16.61 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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.000115/0.4973, allocations: 127.5 kB / 0.6913 GB, free: 16.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.201e-05/0.4974, allocations: 19.2 kB / 0.6913 GB, free: 16.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008567/0.4983, allocations: 274.6 kB / 0.6916 GB, free: 16.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.4983, allocations: 2.75 kB / 0.6916 GB, free: 16.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.4983, allocations: 0.8438 kB / 0.6916 GB, free: 16.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4983, allocations: 1.359 kB / 0.6916 GB, free: 16.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.5, allocations: 1.067 MB / 0.6926 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5, allocations: 0.6094 kB / 0.6926 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.5003, allocations: 47.61 kB / 0.6927 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.5003, allocations: 0.9688 kB / 0.6927 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.5004, allocations: 7.578 kB / 0.6927 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5004, allocations: 1.688 kB / 0.6927 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5004, allocations: 0.7812 kB / 0.6927 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007741/0.5011, allocations: 357.8 kB / 0.693 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.5012, allocations: 91.06 kB / 0.6931 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.5012, allocations: 10.48 kB / 0.6931 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003265/0.5016, allocations: 25.48 kB / 0.6931 GB, free: 15.14 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.5016, allocations: 15.19 kB / 0.6932 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.948e-05/0.5017, allocations: 5.5 kB / 0.6932 GB, free: 15.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.001e-05/0.5017, allocations: 119.7 kB / 0.6933 GB, free: 15.05 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5017, allocations: 0 / 0.6933 GB, free: 15.05 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004924/0.5022, allocations: 130.2 kB / 0.6934 GB, free: 15.03 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0004366/0.5027, allocations: 224.1 kB / 0.6936 GB, free: 14.93 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008306/0.5035, allocations: 248.5 kB / 0.6939 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.892e-06/0.5035, allocations: 1.312 kB / 0.6939 GB, free: 14.85 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.5039, allocations: 112.3 kB / 0.694 GB, free: 14.81 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.5044, allocations: 55.45 kB / 0.694 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002135/0.5065, allocations: 0.496 MB / 0.6945 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.5067, allocations: 0.7129 MB / 0.6952 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.5068, allocations: 23.88 kB / 0.6952 GB, free: 13.82 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5068, allocations: 1.062 kB / 0.6952 GB, free: 13.82 MB / 494.1 MB Notification: Performance of Templates: time 0.007844/0.5146, allocations: 4.156 MB / 0.6993 GB, free: 13.42 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ScrollCompressor.pipe 2>&1)