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.0009172/0.0009173, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009433/0.0009434, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.4 MB / 222.1 MB, free: 5.293 MB / 174.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.635/1.635, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0004757/0.0004758, allocations: 11 kB / 0.6737 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1923/0.1928, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002024/0.1949, allocations: 1.691 MB / 0.7889 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002001/0.1969, allocations: 1.541 MB / 0.7904 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.338e-05/0.197, allocations: 7.938 kB / 0.7905 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.886e-05/0.1971, allocations: 7.922 kB / 0.7905 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.1972, allocations: 47.61 kB / 0.7905 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008504/0.1981, allocations: 267.2 kB / 0.7908 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002148/0.1983, allocations: 203.1 kB / 0.791 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.1984, allocations: 45.64 kB / 0.791 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.277e-05/0.1985, allocations: 67.78 kB / 0.7911 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.1986, allocations: 79.73 kB / 0.7911 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1987, allocations: 8 kB / 0.7911 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006796/0.1993, allocations: 383.5 kB / 0.7915 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.1994, allocations: 35.83 kB / 0.7915 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.1994, allocations: 53.64 kB / 0.7916 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.1998, allocations: 311.5 kB / 0.7919 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1998, allocations: 4 kB / 0.7919 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1998, allocations: 0 / 0.7919 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.947e-06/0.1998, allocations: 0 / 0.7919 GB, free: 7.168 MB / 0.6075 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.0006389/0.2005, allocations: 498.9 kB / 0.7924 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.2005, allocations: 8.031 kB / 0.7924 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004837/0.201, allocations: 99.81 kB / 0.7925 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.2011, allocations: 186.7 kB / 0.7927 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.996e-05/0.2012, allocations: 45.69 kB / 0.7927 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.563e-05/0.2012, allocations: 20 kB / 0.7927 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/0.2016, allocations: 185.4 kB / 0.7929 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2016, allocations: 0 / 0.7929 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.2016, allocations: 4 kB / 0.7929 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.2017, allocations: 4 kB / 0.7929 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003973/0.2021, allocations: 188.5 kB / 0.7931 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.2033, allocations: 0.9149 MB / 0.794 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004545/0.2038, allocations: 186.5 kB / 0.7942 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001862/0.204, allocations: 80.83 kB / 0.7942 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005973/0.2046, allocations: 0.5181 MB / 0.7947 GB, free: 3.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.2046, allocations: 34.56 kB / 0.7948 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 2.164e-06/0.2046, allocations: 0 / 0.7948 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0006997/0.2053, allocations: 253.7 kB / 0.795 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.2054, allocations: 51.41 kB / 0.7951 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.2055, allocations: 162.4 kB / 0.7952 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.892e-05/0.2056, allocations: 29.7 kB / 0.7952 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.048e-05/0.2057, allocations: 123.6 kB / 0.7954 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.2057, allocations: 51.3 kB / 0.7954 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.237e-05/0.2057, allocations: 4 kB / 0.7954 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.2059, allocations: 322.8 kB / 0.7957 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.2061, allocations: 79.95 kB / 0.7958 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/0.2063, allocations: 100.6 kB / 0.7959 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.2065, allocations: 67.97 kB / 0.796 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.2065, allocations: 0 / 0.796 GB, free: 2.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004596/0.207, allocations: 225.5 kB / 0.7962 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.207, allocations: 4 kB / 0.7962 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.207, allocations: 3.953 kB / 0.7962 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.207, allocations: 0 / 0.7962 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.2073, allocations: 43.91 kB / 0.7962 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.2073, allocations: 0 / 0.7962 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001695/0.2074, allocations: 35.77 kB / 0.7963 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.2075, allocations: 4 kB / 0.7963 GB, free: 2.281 MB / 0.6075 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.2076, allocations: 129.8 kB / 0.7964 GB, free: 2.145 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.057e-05/0.2076, allocations: 15.8 kB / 0.7964 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004649/0.2081, allocations: 210 kB / 0.7966 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.2081, allocations: 7.938 kB / 0.7966 GB, free: 1.91 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2081, allocations: 4 kB / 0.7966 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.2081, allocations: 0 / 0.7966 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.2095, allocations: 0.9779 MB / 0.7976 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2095, allocations: 3.953 kB / 0.7976 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.2097, allocations: 43.97 kB / 0.7976 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.2097, allocations: 4 kB / 0.7976 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.2097, allocations: 0 / 0.7976 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.2097, allocations: 4 kB / 0.7976 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2097, allocations: 0 / 0.7976 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004665/0.2102, allocations: 289.1 kB / 0.7979 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.813e-05/0.2103, allocations: 104.8 kB / 0.798 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.2103, allocations: 0 / 0.798 GB, free: 300 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.2105, allocations: 27.97 kB / 0.798 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.2105, allocations: 11.92 kB / 0.798 GB, free: 260 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.2106, allocations: 4 kB / 0.798 GB, free: 256 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.057e-05/0.2106, allocations: 121.7 kB / 0.7982 GB, free: 136 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2106, allocations: 0 / 0.7982 GB, free: 136 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004548/0.2111, allocations: 127.9 kB / 0.7983 GB, free: 8 kB / 0.6075 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 (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.0004384/0.2116, allocations: 231 kB / 0.7985 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004448/0.212, allocations: 182.3 kB / 0.7987 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.212, allocations: 0 / 0.7987 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/0.2122, allocations: 87.89 kB / 0.7988 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.2126, allocations: 47.92 kB / 0.7988 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006093/0.2132, allocations: 381.5 kB / 0.7992 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.2135, allocations: 0.7127 MB / 0.7999 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001624/0.2137, allocations: 32.67 kB / 0.7999 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.2137, allocations: 23.42 kB / 0.7999 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2137, allocations: 0 / 0.7999 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of Templates: time 0.007144/0.2209, allocations: 4.044 MB / 0.8039 GB, free: 10.27 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1) Environment - environmentSimulation: