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 2.578/2.578, allocations: 287.3 MB / 302.3 MB, free: 8.371 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.001507/0.001507, allocations: 179 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001165/0.001165, allocations: 105.5 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006454/0.0006457, allocations: 16.05 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2218, allocations: 115.3 MB / 0.9782 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002422/0.2243, allocations: 1.621 MB / 0.9798 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002717/0.2271, allocations: 1.481 MB / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.2273, allocations: 0 / 0.9812 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.873e-05/0.2273, allocations: 11.92 kB / 0.9812 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.2275, allocations: 51.81 kB / 0.9813 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001158/0.2287, allocations: 272.7 kB / 0.9815 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000207/0.2289, allocations: 151.7 kB / 0.9817 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.229, allocations: 33.67 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.2292, allocations: 67.84 kB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001522/0.2293, allocations: 79.72 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.2294, allocations: 8 kB / 0.9819 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.2304, allocations: 387.5 kB / 0.9822 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.143e-05/0.2305, allocations: 27.91 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.812e-05/0.2305, allocations: 53.64 kB / 0.9823 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00063/0.2312, allocations: 315.5 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2312, allocations: 3.938 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2312, allocations: 0 / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.2312, allocations: 0 / 0.9826 GB, free: 23.84 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.0009216/0.2322, allocations: 0.4892 MB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2322, allocations: 12.02 kB / 0.9831 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008574/0.2331, allocations: 103.8 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.2332, allocations: 186.7 kB / 0.9834 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.57e-05/0.2333, allocations: 49.69 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.2334, allocations: 15.98 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005714/0.2339, allocations: 189.3 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.234, allocations: 0 / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.234, allocations: 4 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.234, allocations: 8 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000733/0.2348, allocations: 183.9 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001721/0.2365, allocations: 0.9111 MB / 0.9847 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007932/0.2373, allocations: 182.5 kB / 0.9849 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008294/0.2382, allocations: 0.5181 MB / 0.9854 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.2382, allocations: 42.56 kB / 0.9854 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 4.128e-06/0.2383, allocations: 0 / 0.9854 GB, free: 20.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.001111/0.2394, allocations: 250.8 kB / 0.9857 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.2394, allocations: 55.36 kB / 0.9857 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.2396, allocations: 164.7 kB / 0.9859 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.2396, allocations: 25.7 kB / 0.9859 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.2397, allocations: 123.7 kB / 0.986 GB, free: 19.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.652e-05/0.2398, allocations: 43.36 kB / 0.9861 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.756e-05/0.2398, allocations: 0 / 0.9861 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.749e-05/0.2399, allocations: 326.8 kB / 0.9864 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.2402, allocations: 79.95 kB / 0.9864 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.2406, allocations: 93.67 kB / 0.9865 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/0.2409, allocations: 77.97 kB / 0.9866 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2409, allocations: 0 / 0.9866 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007995/0.2417, allocations: 217.5 kB / 0.9868 GB, free: 19.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.2418, allocations: 7.953 kB / 0.9868 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2418, allocations: 4.031 kB / 0.9868 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.2418, allocations: 0 / 0.9868 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004264/0.2422, allocations: 47.91 kB / 0.9869 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.2423, allocations: 0 / 0.9869 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.2426, allocations: 31.75 kB / 0.9869 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.2426, allocations: 8 kB / 0.9869 GB, free: 19.03 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 0.0001404/0.2428, allocations: 129.8 kB / 0.987 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.452e-05/0.2429, allocations: 11.81 kB / 0.987 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008122/0.2437, allocations: 208.2 kB / 0.9872 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2437, allocations: 4 kB / 0.9872 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2437, allocations: 4 kB / 0.9872 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.2437, allocations: 4 kB / 0.9873 GB, free: 18.67 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002025/0.2458, allocations: 0.9817 MB / 0.9882 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.2458, allocations: 4 kB / 0.9882 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003525/0.2462, allocations: 31.91 kB / 0.9882 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.2462, allocations: 4 kB / 0.9882 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.2462, allocations: 64 / 0.9882 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.2462, allocations: 8 kB / 0.9883 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2463, allocations: 3.984 kB / 0.9883 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007825/0.2471, allocations: 324.4 kB / 0.9886 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.2471, allocations: 92.86 kB / 0.9887 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.034e-05/0.2472, allocations: 11.98 kB / 0.9887 GB, free: 17.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.2476, allocations: 11.98 kB / 0.9887 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.2476, allocations: 15.98 kB / 0.9887 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.2477, allocations: 7.938 kB / 0.9887 GB, free: 16.97 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.966e-05/0.2478, allocations: 120.1 kB / 0.9888 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.132e-06/0.2478, allocations: 0 / 0.9888 GB, free: 16.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006266/0.2484, allocations: 127.8 kB / 0.9889 GB, free: 16.73 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.000605/0.249, allocations: 227 kB / 0.9892 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007459/0.2498, allocations: 183.8 kB / 0.9893 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.2498, allocations: 0 / 0.9893 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.2502, allocations: 83.91 kB / 0.9894 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.2506, allocations: 48.02 kB / 0.9895 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008517/0.2515, allocations: 378.4 kB / 0.9898 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001713/0.2517, allocations: 0.7167 MB / 0.9905 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002567/0.252, allocations: 26.17 kB / 0.9905 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.2521, allocations: 23.42 kB / 0.9906 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of SimCode: time 1.894e-06/0.2521, allocations: 0 / 0.9906 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of Templates: time 0.01084/0.2629, allocations: 4.046 MB / 0.9945 GB, free: 11.01 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)