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.8363/0.8363, 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.001016/0.001016, allocations: 186.5 kB / 187.3 MB, free: 11.89 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.555/1.555, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0009442/0.0009443, allocations: 93.66 kB / 0.5124 GB, free: 24.3 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001947/0.001947, allocations: 275.4 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.929e-05/3.931e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5031/0.5032, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.173/0.6762, allocations: 115.2 MB / 0.8768 GB, free: 9.348 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.6766, allocations: 91.48 kB / 0.8769 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02451/0.7011, allocations: 8.262 MB / 0.8849 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7012, allocations: 0 / 0.8849 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.178e-05/0.7012, allocations: 4 kB / 0.8849 GB, free: 0.9883 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.0008847/0.7021, allocations: 499.7 kB / 0.8854 GB, free: 468 kB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.7021, allocations: 12.03 kB / 0.8854 GB, free: 456 kB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.7033, allocations: 140.5 kB / 0.8856 GB, free: 316 kB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.7034, allocations: 186.7 kB / 0.8857 GB, free: 88 kB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.934e-05/0.7035, allocations: 41.7 kB / 0.8858 GB, free: 40 kB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.73e-05/0.7036, allocations: 20 kB / 0.8858 GB, free: 20 kB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003843/0.704, allocations: 197 kB / 0.886 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.704, allocations: 0 / 0.886 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.704, allocations: 4 kB / 0.886 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.704, allocations: 4 kB / 0.886 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.7043, allocations: 176 kB / 0.8862 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001574/0.7059, allocations: 0.9829 MB / 0.8871 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002608/0.7062, allocations: 154.6 kB / 0.8873 GB, free: 14.38 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.7063, allocations: 80.86 kB / 0.8873 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007473/0.7071, allocations: 0.522 MB / 0.8879 GB, free: 13.66 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.7071, allocations: 30.56 kB / 0.8879 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.7071, allocations: 0 / 0.8879 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of matching and sorting (n=16): time 0.0004188/0.7076, allocations: 183.4 kB / 0.8881 GB, free: 13.44 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.7076, allocations: 55.36 kB / 0.8881 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.7078, allocations: 148.3 kB / 0.8883 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.7078, allocations: 41.64 kB / 0.8883 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.7e-05/0.7079, allocations: 112.2 kB / 0.8884 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 5.759e-05/0.708, allocations: 55.2 kB / 0.8885 GB, free: 13 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/0.708, allocations: 4 kB / 0.8885 GB, free: 13 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.7081, allocations: 322.8 kB / 0.8888 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.7083, allocations: 76.36 kB / 0.8888 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001508/0.7084, allocations: 86.66 kB / 0.8889 GB, free: 12.51 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.7086, allocations: 71.16 kB / 0.889 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.7086, allocations: 0 / 0.889 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003562/0.7089, allocations: 211.1 kB / 0.8892 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.709, allocations: 5.562 kB / 0.8892 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.709, allocations: 0 / 0.8892 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.709, allocations: 4 kB / 0.8892 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003781/0.7094, allocations: 55.92 kB / 0.8893 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.7094, allocations: 0 / 0.8893 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.7097, allocations: 39.69 kB / 0.8893 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.918e-05/0.7097, allocations: 11.19 kB / 0.8893 GB, free: 12.12 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 9.156e-05/0.7098, allocations: 113 kB / 0.8894 GB, free: 12 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.7099, allocations: 11.91 kB / 0.8894 GB, free: 11.99 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004373/0.7103, allocations: 210.1 kB / 0.8896 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.7104, allocations: 4 kB / 0.8896 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.7104, allocations: 0 / 0.8896 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.7104, allocations: 7.938 kB / 0.8896 GB, free: 11.77 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.7118, allocations: 1.008 MB / 0.8906 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.7118, allocations: 0 / 0.8906 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003182/0.7121, allocations: 47.84 kB / 0.8907 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.7121, allocations: 4.062 kB / 0.8907 GB, free: 10.56 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.7122, allocations: 11.94 kB / 0.8907 GB, free: 10.55 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.7122, allocations: 4 kB / 0.8907 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.7122, allocations: 4 kB / 0.8907 GB, free: 10.54 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.7126, allocations: 314.3 kB / 0.891 GB, free: 10.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.7126, allocations: 100.8 kB / 0.8911 GB, free: 10.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.655e-05/0.7127, allocations: 4 kB / 0.8911 GB, free: 10.08 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003156/0.713, allocations: 23.97 kB / 0.8911 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.7131, allocations: 15.92 kB / 0.8911 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.7131, allocations: 8 kB / 0.8911 GB, free: 10.03 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.579e-05/0.7132, allocations: 122.1 kB / 0.8912 GB, free: 9.914 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7132, allocations: 0 / 0.8912 GB, free: 9.914 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005576/0.7138, allocations: 135.9 kB / 0.8914 GB, free: 9.781 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.0004698/0.7142, allocations: 242.9 kB / 0.8916 GB, free: 9.531 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003555/0.7146, allocations: 168.5 kB / 0.8918 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.7146, allocations: 0 / 0.8918 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.7147, allocations: 83.88 kB / 0.8918 GB, free: 9.285 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.7151, allocations: 49.92 kB / 0.8919 GB, free: 9.238 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.7168, allocations: 335.3 kB / 0.8922 GB, free: 8.879 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.7171, allocations: 0.7168 MB / 0.8929 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002022/0.7173, allocations: 37.47 kB / 0.8929 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/0.7174, allocations: 23.38 kB / 0.893 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of SimCode: time 6.51e-07/0.7174, allocations: 0 / 0.893 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of Templates: time 0.007708/0.7251, allocations: 4.091 MB / 0.897 GB, free: 4.031 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)