Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 106.6 kB / 16.29 MB, free: 6.43 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.001108/0.001108, allocations: 184 kB / 17.22 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.468/1.468, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.779/1.779, allocations: 292.3 MB / 0.5495 GB, free: 17.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 67.89 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2704, allocations: 114.6 MB / 0.7841 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.00325/0.2737, allocations: 2.017 MB / 0.786 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002328/0.2761, allocations: 1.668 MB / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.735e-05/0.2762, allocations: 0 / 0.7877 GB, free: 112 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.228e-05/0.2763, allocations: 19.8 kB / 0.7877 GB, free: 92 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.749e-05/0.2764, allocations: 47.55 kB / 0.7877 GB, free: 44 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.4072/0.6836, allocations: 353.8 kB / 0.7881 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.6839, allocations: 223.7 kB / 0.7883 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.684, allocations: 47.53 kB / 0.7883 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.6841, allocations: 77.52 kB / 0.7884 GB, free: 46 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.6843, allocations: 92.59 kB / 0.7885 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.219e-05/0.6843, allocations: 17.22 kB / 0.7885 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007789/0.6851, allocations: 418.1 kB / 0.7889 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.989e-05/0.6852, allocations: 46.02 kB / 0.789 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 7.482e-05/0.6853, allocations: 84.7 kB / 0.789 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005364/0.6858, allocations: 425.7 kB / 0.7894 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.6858, allocations: 0 / 0.7894 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.733e-06/0.6858, allocations: 0 / 0.7894 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.6858, allocations: 0 / 0.7894 GB, free: 45.92 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007069/0.6866, allocations: 0.5207 MB / 0.79 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.6866, allocations: 7.875 kB / 0.79 GB, free: 45.49 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005331/0.6871, allocations: 90.53 kB / 0.79 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.638e-05/0.6872, allocations: 181.6 kB / 0.7902 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.345e-05/0.6873, allocations: 49.89 kB / 0.7903 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.6874, allocations: 12.19 kB / 0.7903 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003559/0.6877, allocations: 181 kB / 0.7905 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.6877, allocations: 5.609 kB / 0.7905 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.6878, allocations: 7.312 kB / 0.7905 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.6878, allocations: 6.469 kB / 0.7905 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003707/0.6882, allocations: 185.2 kB / 0.7906 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.6893, allocations: 0.906 MB / 0.7915 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.6897, allocations: 182.4 kB / 0.7917 GB, free: 44.52 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.6899, allocations: 77.92 kB / 0.7918 GB, free: 44.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005023/0.6904, allocations: 0.5184 MB / 0.7923 GB, free: 43.95 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.6904, allocations: 39.45 kB / 0.7923 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.6904, allocations: 0 / 0.7923 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0006112/0.691, allocations: 234.8 kB / 0.7925 GB, free: 43.87 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.6911, allocations: 54.03 kB / 0.7926 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.6912, allocations: 156.4 kB / 0.7927 GB, free: 43.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.6912, allocations: 29.58 kB / 0.7928 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.701e-05/0.6912, allocations: 125.8 kB / 0.7929 GB, free: 43.57 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.6913, allocations: 44.59 kB / 0.7929 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.295e-05/0.6913, allocations: 43.45 kB / 0.793 GB, free: 43.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.148e-05/0.6914, allocations: 324.9 kB / 0.7933 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.6916, allocations: 75.05 kB / 0.7934 GB, free: 43.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.6918, allocations: 96.03 kB / 0.7935 GB, free: 43.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.6921, allocations: 150.2 kB / 0.7936 GB, free: 43.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6921, allocations: 3.938 kB / 0.7936 GB, free: 43.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004113/0.6925, allocations: 215.4 kB / 0.7938 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.6925, allocations: 11.97 kB / 0.7938 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.6925, allocations: 0 / 0.7938 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.6926, allocations: 4.219 kB / 0.7938 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002259/0.6928, allocations: 33.14 kB / 0.7939 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.6928, allocations: 0.6875 kB / 0.7939 GB, free: 43.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.693, allocations: 28.38 kB / 0.7939 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.693, allocations: 3.188 kB / 0.7939 GB, free: 43.12 MB / 0.6544 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 (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 (20): * Single equations (assignments): 20 * 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 9.111e-05/0.6931, allocations: 136 kB / 0.794 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.6931, allocations: 14.56 kB / 0.794 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004417/0.6936, allocations: 198.2 kB / 0.7942 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.6936, allocations: 0 / 0.7942 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.6936, allocations: 3.047 kB / 0.7942 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.6936, allocations: 0.9375 kB / 0.7942 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.6947, allocations: 0.9883 MB / 0.7952 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.6947, allocations: 0 / 0.7952 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001817/0.6949, allocations: 32.77 kB / 0.7952 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6949, allocations: 0 / 0.7952 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.695, allocations: 10.31 kB / 0.7952 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.695, allocations: 0 / 0.7952 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.695, allocations: 0 / 0.7952 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/0.6954, allocations: 289.2 kB / 0.7955 GB, free: 42.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.822e-05/0.6954, allocations: 92.48 kB / 0.7956 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.6955, allocations: 5.969 kB / 0.7956 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.6957, allocations: 16.2 kB / 0.7956 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.6957, allocations: 13.17 kB / 0.7956 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.6957, allocations: 8.594 kB / 0.7956 GB, free: 41.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.013e-05/0.6958, allocations: 118.9 kB / 0.7957 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6958, allocations: 0 / 0.7957 GB, free: 41.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003942/0.6962, allocations: 131.6 kB / 0.7959 GB, free: 41.81 MB / 0.6544 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.0003421/0.6965, allocations: 228.3 kB / 0.7961 GB, free: 41.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004073/0.697, allocations: 177 kB / 0.7963 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.697, allocations: 1.312 kB / 0.7963 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.6971, allocations: 86.95 kB / 0.7963 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004053/0.6976, allocations: 44.69 kB / 0.7964 GB, free: 41.69 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.6981, allocations: 318.2 kB / 0.7967 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.6982, allocations: 0.7099 MB / 0.7974 GB, free: 40.81 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000116/0.6983, allocations: 31.73 kB / 0.7974 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.256e-05/0.6984, allocations: 26.84 kB / 0.7974 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.6984, allocations: 0 / 0.7974 GB, free: 40.8 MB / 0.6544 GB Notification: Performance of Templates: time 0.007537/0.7059, allocations: 4.261 MB / 0.8016 GB, free: 40.57 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)