Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.706/1.706, allocations: 287.5 MB / 302.6 MB, free: 8.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009739/0.0009738, allocations: 189.6 kB / 371.2 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 0.6298 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008746/0.0008745, allocations: 100.9 kB / 0.7432 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004429, allocations: 16.12 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1976, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001725/0.1994, allocations: 1.675 MB / 0.9803 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.2011, allocations: 1.56 MB / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.2012, allocations: 0 / 0.9818 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.65e-05/0.2012, allocations: 15.92 kB / 0.9818 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/0.2013, allocations: 43.61 kB / 0.9819 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007885/0.2021, allocations: 268.2 kB / 0.9821 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001745/0.2023, allocations: 203.1 kB / 0.9823 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.2025, allocations: 45.45 kB / 0.9824 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.349e-05/0.2026, allocations: 63.84 kB / 0.9824 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.2027, allocations: 87.66 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.2027, allocations: 8 kB / 0.9825 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006502/0.2034, allocations: 375.5 kB / 0.9829 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.2034, allocations: 31.91 kB / 0.9829 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.514e-05/0.2034, allocations: 57.64 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003456/0.2038, allocations: 319.5 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.2038, allocations: 0 / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2038, allocations: 0 / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.2038, allocations: 0 / 0.9833 GB, free: 23.45 MB / 0.6198 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.0006217/0.2045, allocations: 491.2 kB / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.2045, allocations: 12.03 kB / 0.9838 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005128/0.205, allocations: 100.7 kB / 0.9839 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.055e-05/0.2051, allocations: 184.1 kB / 0.984 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.528e-05/0.2052, allocations: 46.25 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.2052, allocations: 16.31 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003523/0.2056, allocations: 197.8 kB / 0.9843 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.2056, allocations: 3.938 kB / 0.9843 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.2056, allocations: 12 kB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2056, allocations: 4 kB / 0.9843 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.206, allocations: 183.8 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.2071, allocations: 0.9112 MB / 0.9854 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004378/0.2075, allocations: 186.5 kB / 0.9855 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.2077, allocations: 84.81 kB / 0.9856 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004799/0.2082, allocations: 0.522 MB / 0.9861 GB, free: 20.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.2082, allocations: 30.56 kB / 0.9862 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 1.943e-06/0.2082, allocations: 0 / 0.9862 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0006367/0.2089, allocations: 246.8 kB / 0.9864 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.877e-05/0.2089, allocations: 67.33 kB / 0.9865 GB, free: 19.81 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.184e-05/0.209, allocations: 148.7 kB / 0.9866 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.209, allocations: 33.69 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.2091, allocations: 123.8 kB / 0.9868 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.2091, allocations: 47.3 kB / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.009e-05/0.2091, allocations: 8 kB / 0.9868 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.132e-05/0.2092, allocations: 318.8 kB / 0.9871 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001797/0.2094, allocations: 75.95 kB / 0.9872 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.2096, allocations: 107.7 kB / 0.9873 GB, free: 18.94 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/0.2099, allocations: 146.9 kB / 0.9874 GB, free: 18.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2099, allocations: 7.938 kB / 0.9874 GB, free: 18.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004199/0.2103, allocations: 226 kB / 0.9876 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.2103, allocations: 10.34 kB / 0.9877 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2104, allocations: 0 / 0.9877 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2104, allocations: 0 / 0.9877 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.2106, allocations: 47.94 kB / 0.9877 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.2106, allocations: 4 kB / 0.9877 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001655/0.2108, allocations: 27.83 kB / 0.9877 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.2108, allocations: 7.938 kB / 0.9877 GB, free: 18.46 MB / 0.6198 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 7.504e-05/0.2109, allocations: 125.8 kB / 0.9879 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.2109, allocations: 11.91 kB / 0.9879 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004477/0.2114, allocations: 211.6 kB / 0.9881 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2114, allocations: 0 / 0.9881 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2114, allocations: 0 / 0.9881 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2114, allocations: 4 kB / 0.9881 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001166/0.2126, allocations: 0.9857 MB / 0.989 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2126, allocations: 0 / 0.989 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.2128, allocations: 35.92 kB / 0.9891 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2128, allocations: 7.938 kB / 0.9891 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.2128, allocations: 3.984 kB / 0.9891 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.2128, allocations: 0 / 0.9891 GB, free: 16.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2129, allocations: 4.062 kB / 0.9891 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004092/0.2133, allocations: 313.8 kB / 0.9894 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.022e-05/0.2133, allocations: 96.94 kB / 0.9895 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.2133, allocations: 0 / 0.9895 GB, free: 16.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.2136, allocations: 23.92 kB / 0.9895 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.2136, allocations: 11.92 kB / 0.9895 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.408e-05/0.2136, allocations: 7.984 kB / 0.9895 GB, free: 16.43 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.305e-05/0.2137, allocations: 115.9 kB / 0.9896 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2137, allocations: 0 / 0.9896 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003686/0.2141, allocations: 139.8 kB / 0.9898 GB, free: 16.18 MB / 0.6198 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.0003427/0.2144, allocations: 223.1 kB / 0.99 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004224/0.2148, allocations: 186.5 kB / 0.9902 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2148, allocations: 0 / 0.9902 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.215, allocations: 88.09 kB / 0.9902 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003586/0.2154, allocations: 39.83 kB / 0.9903 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.2159, allocations: 375.2 kB / 0.9906 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.2161, allocations: 0.705 MB / 0.9913 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001546/0.2162, allocations: 29.42 kB / 0.9914 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.973e-05/0.2163, allocations: 23.42 kB / 0.9914 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.2163, allocations: 0 / 0.9914 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of Templates: time 0.00731/0.2236, allocations: 4.063 MB / 0.9953 GB, free: 10.46 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)