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.001364/0.001364, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 197.1 kB / 16.64 MB, free: 6.445 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.59/1.59, allocations: 205.1 MB / 222.5 MB, free: 4.574 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.745/1.745, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001417/0.001417, allocations: 71.11 kB / 0.6723 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2579, allocations: 114.5 MB / 0.7841 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003612/0.2616, allocations: 2.037 MB / 0.7861 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002464/0.2641, allocations: 1.653 MB / 0.7877 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.942e-05/0.2642, allocations: 0 / 0.7877 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.158e-05/0.2643, allocations: 23.78 kB / 0.7878 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.2644, allocations: 47.55 kB / 0.7878 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001033/0.2654, allocations: 358 kB / 0.7881 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002301/0.2657, allocations: 227 kB / 0.7884 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.2659, allocations: 49.25 kB / 0.7884 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.266, allocations: 87.81 kB / 0.7885 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.2662, allocations: 83.69 kB / 0.7886 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.2662, allocations: 20 kB / 0.7886 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007344/0.2669, allocations: 415.5 kB / 0.789 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.24e-05/0.267, allocations: 39.91 kB / 0.789 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.673e-05/0.2671, allocations: 87.66 kB / 0.7891 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005544/0.2677, allocations: 426.9 kB / 0.7895 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2677, allocations: 3.938 kB / 0.7895 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2677, allocations: 0 / 0.7895 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.2677, allocations: 0 / 0.7895 GB, free: 7.215 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.0008611/0.2686, allocations: 0.5187 MB / 0.79 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.2686, allocations: 12.03 kB / 0.79 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000552/0.2692, allocations: 88.64 kB / 0.7901 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.2693, allocations: 184.1 kB / 0.7903 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.313e-05/0.2694, allocations: 46.25 kB / 0.7903 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.2694, allocations: 16.38 kB / 0.7903 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004012/0.2698, allocations: 194.5 kB / 0.7905 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.2699, allocations: 3.938 kB / 0.7905 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.2699, allocations: 4 kB / 0.7905 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.2699, allocations: 4 kB / 0.7905 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004454/0.2704, allocations: 175.9 kB / 0.7907 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.2718, allocations: 0.9072 MB / 0.7916 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004983/0.2723, allocations: 174.5 kB / 0.7918 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.2725, allocations: 80.81 kB / 0.7918 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006064/0.2731, allocations: 0.522 MB / 0.7924 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.2731, allocations: 38.5 kB / 0.7924 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.693e-06/0.2731, allocations: 0 / 0.7924 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0006935/0.2738, allocations: 229.8 kB / 0.7926 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.519e-05/0.2739, allocations: 63.39 kB / 0.7927 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.274, allocations: 149.5 kB / 0.7928 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.2741, allocations: 37.69 kB / 0.7928 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.595e-05/0.2742, allocations: 111.8 kB / 0.793 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.2742, allocations: 51.3 kB / 0.793 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.977e-05/0.2743, allocations: 45.61 kB / 0.793 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.2744, allocations: 322.8 kB / 0.7934 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.2746, allocations: 71.95 kB / 0.7934 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002109/0.2749, allocations: 97.62 kB / 0.7935 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003573/0.2752, allocations: 148.5 kB / 0.7937 GB, free: 2.547 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.2752, allocations: 3.938 kB / 0.7937 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004803/0.2757, allocations: 217.4 kB / 0.7939 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2757, allocations: 4 kB / 0.7939 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.2758, allocations: 0 / 0.7939 GB, free: 2.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.2758, allocations: 11.92 kB / 0.7939 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.276, allocations: 44 kB / 0.7939 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.276, allocations: 0 / 0.7939 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.2762, allocations: 23.83 kB / 0.7939 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.2762, allocations: 4 kB / 0.794 GB, free: 2.238 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 (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 0.0001083/0.2764, allocations: 133.7 kB / 0.7941 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.725e-05/0.2764, allocations: 15.81 kB / 0.7941 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005154/0.2769, allocations: 198.4 kB / 0.7943 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2769, allocations: 3.938 kB / 0.7943 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.277, allocations: 0 / 0.7943 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.277, allocations: 3.938 kB / 0.7943 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001355/0.2783, allocations: 0.974 MB / 0.7952 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2783, allocations: 0 / 0.7952 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.2785, allocations: 31.98 kB / 0.7953 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.2786, allocations: 8 kB / 0.7953 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.2786, allocations: 7.984 kB / 0.7953 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2786, allocations: 3.984 kB / 0.7953 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2786, allocations: 0 / 0.7953 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004717/0.2791, allocations: 296.4 kB / 0.7956 GB, free: 392 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.112e-05/0.2791, allocations: 92.86 kB / 0.7957 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.194e-05/0.2792, allocations: 4 kB / 0.7957 GB, free: 276 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.2794, allocations: 15.97 kB / 0.7957 GB, free: 260 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.161e-05/0.2794, allocations: 11.92 kB / 0.7957 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.2794, allocations: 8 kB / 0.7957 GB, free: 240 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.212e-05/0.2795, allocations: 121.7 kB / 0.7958 GB, free: 120 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2795, allocations: 4 kB / 0.7958 GB, free: 116 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004545/0.28, allocations: 127.9 kB / 0.7959 GB, free: 15.98 MB / 0.6231 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.0004213/0.2804, allocations: 223 kB / 0.7962 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005194/0.281, allocations: 179.8 kB / 0.7963 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.281, allocations: 0 / 0.7963 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.2812, allocations: 83.89 kB / 0.7964 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004119/0.2816, allocations: 46.69 kB / 0.7965 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/0.2823, allocations: 324.6 kB / 0.7968 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.2826, allocations: 0.7086 MB / 0.7975 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001382/0.2827, allocations: 28.42 kB / 0.7975 GB, free: 14.35 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.395e-05/0.2828, allocations: 19.42 kB / 0.7975 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.2828, allocations: 0 / 0.7975 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of Templates: time 0.007798/0.2906, allocations: 4.263 MB / 0.8017 GB, free: 10.11 MB / 0.6231 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)