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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.8198/0.8198, allocations: 141.8 MB / 149.3 MB, free: 9.242 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 187.8 kB / 182.2 MB, free: 9.473 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.44/1.44, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.0009572/0.000957, allocations: 90.55 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00177/0.00177, allocations: 272 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.9e-05/1.903e-05, allocations: 4 kB / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5078/0.5078, allocations: 82.78 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.166/0.6739, allocations: 114.5 MB / 0.8692 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.6742, allocations: 95.8 kB / 0.8693 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02417/0.6983, allocations: 8.209 MB / 0.8773 GB, free: 5.016 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6984, allocations: 4 kB / 0.8773 GB, free: 5.012 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.6984, allocations: 0 / 0.8773 GB, free: 5.012 MB / 0.5417 GB 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.0008814/0.6993, allocations: 0.4911 MB / 0.8778 GB, free: 4.477 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.6993, allocations: 11.97 kB / 0.8778 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.7004, allocations: 148.3 kB / 0.878 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.7006, allocations: 178.8 kB / 0.8781 GB, free: 4.105 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.7007, allocations: 49.69 kB / 0.8782 GB, free: 4.051 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.7007, allocations: 11.98 kB / 0.8782 GB, free: 4.039 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003213/0.701, allocations: 168 kB / 0.8784 GB, free: 3.875 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.7013, allocations: 157.4 kB / 0.8785 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.7014, allocations: 0 / 0.8785 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.41e-05/0.7014, allocations: 0 / 0.8785 GB, free: 3.715 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.7014, allocations: 4 kB / 0.8785 GB, free: 3.711 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001452/0.7029, allocations: 0.9367 MB / 0.8794 GB, free: 2.668 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002323/0.7031, allocations: 138.7 kB / 0.8796 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000119/0.7032, allocations: 80.86 kB / 0.8796 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006711/0.7039, allocations: 0.5181 MB / 0.8801 GB, free: 1.812 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.704, allocations: 38.56 kB / 0.8802 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.704, allocations: 0 / 0.8802 GB, free: 1.766 MB / 0.5417 GB Notification: Performance of matching and sorting (n=16): time 0.001406/0.7054, allocations: 295.4 kB / 0.8805 GB, free: 1.473 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.7054, allocations: 51.41 kB / 0.8805 GB, free: 1.41 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.7055, allocations: 114.4 kB / 0.8806 GB, free: 1.293 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.7056, allocations: 29.7 kB / 0.8807 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.623e-05/0.7057, allocations: 120.2 kB / 0.8808 GB, free: 1.137 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.104e-05/0.7057, allocations: 59.19 kB / 0.8808 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.42e-05/0.7057, allocations: 0 / 0.8808 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.7059, allocations: 322.8 kB / 0.8811 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.706, allocations: 72.36 kB / 0.8812 GB, free: 0.6797 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.7061, allocations: 92.28 kB / 0.8813 GB, free: 0.5859 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.7072, allocations: 172.8 kB / 0.8815 GB, free: 428 kB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7072, allocations: 7.938 kB / 0.8815 GB, free: 420 kB / 0.5417 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001284/0.7085, allocations: 321.4 kB / 0.8818 GB, free: 96 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.7086, allocations: 4 kB / 0.8818 GB, free: 92 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7086, allocations: 4 kB / 0.8818 GB, free: 88 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.7086, allocations: 0 / 0.8818 GB, free: 88 kB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003955/0.709, allocations: 51.89 kB / 0.8818 GB, free: 36 kB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.709, allocations: 4 kB / 0.8818 GB, free: 32 kB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002702/0.7093, allocations: 27.86 kB / 0.8819 GB, free: 4 kB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.7093, allocations: 8.047 kB / 0.8819 GB, free: 15.99 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.com.isOn,com.isOn) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.7094, allocations: 112.9 kB / 0.882 GB, free: 15.88 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.7095, allocations: 11.91 kB / 0.882 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.7108, allocations: 314 kB / 0.8823 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.7108, allocations: 4 kB / 0.8823 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.7109, allocations: 0 / 0.8823 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.7109, allocations: 3.984 kB / 0.8823 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0023/0.7132, allocations: 1.068 MB / 0.8833 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.7132, allocations: 4 kB / 0.8833 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003069/0.7135, allocations: 44.02 kB / 0.8834 GB, free: 14.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.7135, allocations: 8 kB / 0.8834 GB, free: 14.28 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.7136, allocations: 3.984 kB / 0.8834 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.7136, allocations: 4 kB / 0.8834 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.7136, allocations: 0 / 0.8834 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.7148, allocations: 413.2 kB / 0.8838 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.927e-05/0.7149, allocations: 92.95 kB / 0.8839 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.698e-05/0.7149, allocations: 3.953 kB / 0.8839 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.7153, allocations: 23.97 kB / 0.8839 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.627e-05/0.7153, allocations: 15.97 kB / 0.8839 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.7153, allocations: 8 kB / 0.8839 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.976e-05/0.7154, allocations: 96.27 kB / 0.884 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7154, allocations: 0 / 0.884 GB, free: 13.58 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005577/0.716, allocations: 139.7 kB / 0.8842 GB, free: 13.44 MB / 0.5573 GB 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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004812/0.7165, allocations: 234.9 kB / 0.8844 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003401/0.7168, allocations: 163.9 kB / 0.8845 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.7168, allocations: 0 / 0.8845 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.7169, allocations: 79.92 kB / 0.8846 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.7172, allocations: 28.11 kB / 0.8846 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.719, allocations: 328.3 kB / 0.8849 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.7194, allocations: 0.7124 MB / 0.8856 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001988/0.7196, allocations: 36.81 kB / 0.8857 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.262e-05/0.7197, allocations: 19.42 kB / 0.8857 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of SimCode: time 2.8e-07/0.7197, allocations: 0 / 0.8857 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.007217/0.7269, allocations: 3.545 MB / 0.8892 GB, free: 8.293 MB / 0.5573 GB 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)