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.00161/0.00161, allocations: 108.3 kB / 16.27 MB, free: 6.355 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.001774/0.001774, allocations: 188.6 kB / 17.2 MB, free: 5.953 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.43/1.43, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.838/1.838, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001462/0.001462, allocations: 64.27 kB / 0.6722 GB, free: 6.613 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2404/0.2418, allocations: 114.6 MB / 0.784 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003333/0.2452, allocations: 2.03 MB / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002355/0.2476, allocations: 1.664 MB / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.251e-05/0.2477, allocations: 0 / 0.7876 GB, free: 228 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 6.975e-05/0.2478, allocations: 23.78 kB / 0.7877 GB, free: 204 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001047/0.2479, allocations: 47.55 kB / 0.7877 GB, free: 156 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.4367/0.6846, allocations: 355.9 kB / 0.788 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.6849, allocations: 215.4 kB / 0.7882 GB, free: 46.49 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.6851, allocations: 53.42 kB / 0.7883 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.6852, allocations: 84.92 kB / 0.7884 GB, free: 46.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.6854, allocations: 85.95 kB / 0.7885 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.879e-05/0.6854, allocations: 17.75 kB / 0.7885 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008283/0.6863, allocations: 400.8 kB / 0.7889 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.18e-05/0.6863, allocations: 38.84 kB / 0.7889 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 8.202e-05/0.6864, allocations: 89.69 kB / 0.789 GB, free: 46.45 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005208/0.6869, allocations: 428.6 kB / 0.7894 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.6869, allocations: 2.312 kB / 0.7894 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6869, allocations: 0 / 0.7894 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.687, allocations: 0 / 0.7894 GB, free: 46.4 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.0007455/0.6877, allocations: 0.5167 MB / 0.7899 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.6878, allocations: 7.875 kB / 0.7899 GB, free: 45.97 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000555/0.6883, allocations: 89.59 kB / 0.79 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.6884, allocations: 181.7 kB / 0.7902 GB, free: 45.76 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.61e-05/0.6885, allocations: 48.84 kB / 0.7902 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.6885, allocations: 16.88 kB / 0.7902 GB, free: 45.73 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.6889, allocations: 185.4 kB / 0.7904 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.689, allocations: 3.938 kB / 0.7904 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.689, allocations: 3.938 kB / 0.7904 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.689, allocations: 8.625 kB / 0.7904 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003895/0.6894, allocations: 177.3 kB / 0.7906 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.6906, allocations: 0.9133 MB / 0.7915 GB, free: 45.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.6911, allocations: 174.5 kB / 0.7916 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/0.6912, allocations: 79.8 kB / 0.7917 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004888/0.6917, allocations: 0.5187 MB / 0.7922 GB, free: 44.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.6918, allocations: 43.47 kB / 0.7923 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=14): time 1.503e-06/0.6918, allocations: 0 / 0.7923 GB, free: 44.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=14): time 0.0006596/0.6924, allocations: 232 kB / 0.7925 GB, free: 44.35 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/0.6925, allocations: 54.03 kB / 0.7925 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.6926, allocations: 159.5 kB / 0.7927 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.6926, allocations: 30.92 kB / 0.7927 GB, free: 44.16 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.116e-05/0.6927, allocations: 123.2 kB / 0.7928 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.045e-05/0.6927, allocations: 45.2 kB / 0.7929 GB, free: 44.03 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.273e-05/0.6928, allocations: 35.62 kB / 0.7929 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.584e-05/0.6929, allocations: 328.5 kB / 0.7932 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000177/0.693, allocations: 77.66 kB / 0.7933 GB, free: 43.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.6932, allocations: 98.28 kB / 0.7934 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.6936, allocations: 144 kB / 0.7935 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.6936, allocations: 3.938 kB / 0.7935 GB, free: 43.66 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004337/0.694, allocations: 212.2 kB / 0.7937 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.6941, allocations: 8.625 kB / 0.7937 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.6941, allocations: 0 / 0.7937 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.6941, allocations: 1.969 kB / 0.7938 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.6943, allocations: 42.62 kB / 0.7938 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.6944, allocations: 0 / 0.7938 GB, free: 43.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.6945, allocations: 23.94 kB / 0.7938 GB, free: 43.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.6946, allocations: 10.28 kB / 0.7938 GB, free: 43.61 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.519e-05/0.6947, allocations: 141.5 kB / 0.794 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.359e-05/0.6947, allocations: 18.33 kB / 0.794 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000464/0.6952, allocations: 195.4 kB / 0.7942 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.6952, allocations: 0 / 0.7942 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6952, allocations: 3.656 kB / 0.7942 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.6952, allocations: 4.766 kB / 0.7942 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.6964, allocations: 0.9751 MB / 0.7951 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6964, allocations: 0.75 kB / 0.7951 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.6966, allocations: 34.08 kB / 0.7952 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.6966, allocations: 0 / 0.7952 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.6966, allocations: 11.34 kB / 0.7952 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.6966, allocations: 0 / 0.7952 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.6966, allocations: 0 / 0.7952 GB, free: 42.65 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004456/0.6971, allocations: 290.7 kB / 0.7954 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.469e-05/0.6971, allocations: 91.55 kB / 0.7955 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.6972, allocations: 2.625 kB / 0.7955 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002054/0.6974, allocations: 20.45 kB / 0.7956 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.571e-05/0.6974, allocations: 12.33 kB / 0.7956 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.6975, allocations: 11.16 kB / 0.7956 GB, free: 42.39 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 6.456e-05/0.6975, allocations: 119.7 kB / 0.7957 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1e-07/0.6975, allocations: 0 / 0.7957 GB, free: 42.31 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004547/0.698, allocations: 124.6 kB / 0.7958 GB, free: 42.29 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.000398/0.6984, allocations: 230.9 kB / 0.796 GB, free: 42.18 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004836/0.6989, allocations: 182.6 kB / 0.7962 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6989, allocations: 3.938 kB / 0.7962 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001994/0.6991, allocations: 85.61 kB / 0.7963 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004288/0.6995, allocations: 42.61 kB / 0.7963 GB, free: 42.16 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006377/0.7002, allocations: 347.7 kB / 0.7967 GB, free: 41.95 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000156/0.7004, allocations: 0.7132 MB / 0.7974 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.884e-05/0.7004, allocations: 21.02 kB / 0.7974 GB, free: 41.24 MB / 0.6544 GB Notification: Performance of SimCode: time 2.3e-07/0.7004, allocations: 0 / 0.7974 GB, free: 41.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.007247/0.7077, allocations: 3.865 MB / 0.8012 GB, free: 40.95 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)