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.0008754/0.0008754, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.0008853/0.0008856, allocations: 177.3 kB / 15.95 MB, free: 216 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.229/1.229, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.594/1.594, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.0004772/0.0004773, allocations: 14.97 kB / 0.6735 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1969/0.1974, allocations: 116.3 MB / 0.7871 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002177/0.1996, allocations: 1.613 MB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002087/0.2018, allocations: 1.475 MB / 0.7901 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.226e-05/0.2019, allocations: 4 kB / 0.7901 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.705e-05/0.2019, allocations: 11.92 kB / 0.7902 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.2021, allocations: 55.86 kB / 0.7902 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008678/0.2029, allocations: 267.2 kB / 0.7905 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.2032, allocations: 143.7 kB / 0.7906 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.2033, allocations: 41.64 kB / 0.7906 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.2034, allocations: 71.78 kB / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.2035, allocations: 75.73 kB / 0.7908 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.387e-05/0.2036, allocations: 12 kB / 0.7908 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007081/0.2043, allocations: 387.5 kB / 0.7912 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.2043, allocations: 27.91 kB / 0.7912 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.878e-05/0.2044, allocations: 57.64 kB / 0.7912 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000414/0.2048, allocations: 303.5 kB / 0.7915 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2048, allocations: 0 / 0.7915 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.323e-06/0.2048, allocations: 7.875 kB / 0.7915 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.2048, allocations: 0 / 0.7915 GB, free: 7.387 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.0007576/0.2056, allocations: 0.4912 MB / 0.792 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2056, allocations: 12.03 kB / 0.792 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005816/0.2062, allocations: 91.81 kB / 0.7921 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.2064, allocations: 190.7 kB / 0.7923 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.787e-05/0.2065, allocations: 41.7 kB / 0.7923 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.456e-05/0.2065, allocations: 16 kB / 0.7924 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004872/0.207, allocations: 193.4 kB / 0.7925 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2071, allocations: 0 / 0.7925 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.2071, allocations: 8 kB / 0.7925 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.2071, allocations: 4 kB / 0.7926 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004263/0.2075, allocations: 184.5 kB / 0.7927 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.2089, allocations: 0.9265 MB / 0.7936 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004878/0.2094, allocations: 174.6 kB / 0.7938 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006314/0.21, allocations: 0.522 MB / 0.7943 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.2101, allocations: 34.55 kB / 0.7943 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.2101, allocations: 0 / 0.7943 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0007847/0.2109, allocations: 245.5 kB / 0.7946 GB, free: 3.914 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/0.2109, allocations: 55.41 kB / 0.7946 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.2111, allocations: 162.4 kB / 0.7948 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.2111, allocations: 29.7 kB / 0.7948 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.2112, allocations: 123.7 kB / 0.7949 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.2112, allocations: 51.34 kB / 0.795 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/0.2113, allocations: 4 kB / 0.795 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.2114, allocations: 322.8 kB / 0.7953 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000196/0.2116, allocations: 71.97 kB / 0.7954 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.2118, allocations: 101.7 kB / 0.7955 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.212, allocations: 70.73 kB / 0.7955 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.212, allocations: 0 / 0.7955 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004747/0.2125, allocations: 225.4 kB / 0.7957 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2125, allocations: 4 kB / 0.7957 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2125, allocations: 4 kB / 0.7957 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2125, allocations: 3.953 kB / 0.7957 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.2128, allocations: 39.91 kB / 0.7958 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.2128, allocations: 4 kB / 0.7958 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001871/0.213, allocations: 31.77 kB / 0.7958 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/0.213, allocations: 7.938 kB / 0.7958 GB, free: 2.578 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.0001259/0.2132, allocations: 125.8 kB / 0.7959 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.2132, allocations: 15.81 kB / 0.796 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005102/0.2137, allocations: 213.6 kB / 0.7962 GB, free: 2.215 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.022e-06/0.2137, allocations: 3.953 kB / 0.7962 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.2137, allocations: 0 / 0.7962 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2138, allocations: 0 / 0.7962 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.2152, allocations: 0.9818 MB / 0.7971 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2152, allocations: 0 / 0.7971 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001918/0.2154, allocations: 40 kB / 0.7972 GB, free: 1.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.2154, allocations: 7.938 kB / 0.7972 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.951e-05/0.2155, allocations: 7.984 kB / 0.7972 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2155, allocations: 0 / 0.7972 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2155, allocations: 0 / 0.7972 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004961/0.216, allocations: 316.5 kB / 0.7975 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.2161, allocations: 100.8 kB / 0.7976 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.2161, allocations: 8 kB / 0.7976 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002235/0.2163, allocations: 15.98 kB / 0.7976 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.533e-05/0.2164, allocations: 19.92 kB / 0.7976 GB, free: 0.5156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.2164, allocations: 11.92 kB / 0.7976 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.513e-05/0.2165, allocations: 117.7 kB / 0.7977 GB, free: 400 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/0.2165, allocations: 0 / 0.7977 GB, free: 400 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004637/0.217, allocations: 127.9 kB / 0.7979 GB, free: 272 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.0004732/0.2174, allocations: 219.1 kB / 0.7981 GB, free: 44 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005059/0.218, allocations: 187.8 kB / 0.7983 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.218, allocations: 0 / 0.7983 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.2182, allocations: 83.91 kB / 0.7983 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.2186, allocations: 46.77 kB / 0.7984 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007251/0.2193, allocations: 389.4 kB / 0.7988 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.2197, allocations: 0.7089 MB / 0.7994 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001579/0.2199, allocations: 37.09 kB / 0.7995 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.478e-05/0.22, allocations: 27.42 kB / 0.7995 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.22, allocations: 0 / 0.7995 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of Templates: time 0.008275/0.2283, allocations: 4.041 MB / 0.8035 GB, free: 10.53 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: