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.001077/0.001077, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001167/0.001167, allocations: 198.6 kB / 16.26 MB, free: 6.617 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.505/1.505, allocations: 205.1 MB / 222.1 MB, free: 4.602 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.826/1.826, allocations: 292.2 MB / 0.5485 GB, free: 13.68 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.001438/0.001438, allocations: 62.89 kB / 0.671 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3213, allocations: 114.6 MB / 0.7829 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.004902/0.3263, allocations: 2.083 MB / 0.7849 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002954/0.3293, allocations: 1.645 MB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.3295, allocations: 8 kB / 0.7865 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.453e-05/0.3296, allocations: 11.86 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.3298, allocations: 43.67 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.3314, allocations: 315.2 kB / 0.7869 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004022/0.3319, allocations: 223.1 kB / 0.7871 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.3321, allocations: 53.39 kB / 0.7871 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001817/0.3323, allocations: 79.78 kB / 0.7872 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.3325, allocations: 91.66 kB / 0.7873 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.571e-05/0.3325, allocations: 20 kB / 0.7873 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.3336, allocations: 411.5 kB / 0.7877 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.3336, allocations: 39.91 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.3338, allocations: 91.64 kB / 0.7878 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009435/0.3347, allocations: 431.2 kB / 0.7882 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3347, allocations: 3.938 kB / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3348, allocations: 0 / 0.7882 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.213e-06/0.3348, allocations: 0 / 0.7882 GB, free: 8.391 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.001082/0.3359, allocations: 0.5186 MB / 0.7887 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.3359, allocations: 8.031 kB / 0.7888 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006557/0.3366, allocations: 88.64 kB / 0.7888 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.3368, allocations: 180.2 kB / 0.789 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/0.3369, allocations: 50.25 kB / 0.7891 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.3369, allocations: 12.38 kB / 0.7891 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000474/0.3374, allocations: 182.6 kB / 0.7892 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3375, allocations: 3.938 kB / 0.7892 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.693e-05/0.3375, allocations: 8 kB / 0.7893 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.3375, allocations: 4 kB / 0.7893 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/0.3379, allocations: 179.9 kB / 0.7894 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.3396, allocations: 0.9265 MB / 0.7903 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005194/0.3401, allocations: 178.5 kB / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001951/0.3403, allocations: 76.83 kB / 0.7906 GB, free: 5.754 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007311/0.3411, allocations: 0.522 MB / 0.7911 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.3411, allocations: 38.5 kB / 0.7911 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.563e-06/0.3411, allocations: 0 / 0.7911 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0007427/0.3419, allocations: 237.8 kB / 0.7913 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.3419, allocations: 51.41 kB / 0.7914 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.3421, allocations: 161.5 kB / 0.7916 GB, free: 4.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.3421, allocations: 25.7 kB / 0.7916 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.828e-05/0.3423, allocations: 119.8 kB / 0.7917 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/0.3423, allocations: 47.3 kB / 0.7917 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.004e-05/0.3424, allocations: 41.61 kB / 0.7918 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3425, allocations: 326.8 kB / 0.7921 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.3427, allocations: 71.95 kB / 0.7922 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002187/0.343, allocations: 104.1 kB / 0.7923 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003889/0.3434, allocations: 153.6 kB / 0.7924 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3434, allocations: 3.938 kB / 0.7924 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000513/0.3439, allocations: 212.2 kB / 0.7926 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.3439, allocations: 8 kB / 0.7926 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.344, allocations: 0 / 0.7926 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.344, allocations: 0 / 0.7926 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.3442, allocations: 40 kB / 0.7927 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.3443, allocations: 4 kB / 0.7927 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.3445, allocations: 23.83 kB / 0.7927 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.3445, allocations: 4 kB / 0.7927 GB, free: 3.41 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.0001488/0.3446, allocations: 130.4 kB / 0.7928 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.3447, allocations: 15.81 kB / 0.7928 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005402/0.3452, allocations: 193.7 kB / 0.793 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3453, allocations: 4 kB / 0.793 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.3453, allocations: 3.984 kB / 0.793 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3453, allocations: 3.938 kB / 0.793 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/0.3468, allocations: 0.9817 MB / 0.794 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3468, allocations: 0 / 0.794 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.3471, allocations: 31.97 kB / 0.794 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3471, allocations: 4.062 kB / 0.794 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.3471, allocations: 4 kB / 0.794 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3471, allocations: 4 kB / 0.794 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3471, allocations: 0 / 0.794 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005145/0.3476, allocations: 289 kB / 0.7943 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.3477, allocations: 100.8 kB / 0.7944 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.142e-05/0.3478, allocations: 4 kB / 0.7944 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.348, allocations: 19.98 kB / 0.7944 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.3481, allocations: 11.92 kB / 0.7944 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.3481, allocations: 4 kB / 0.7944 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.152e-05/0.3482, allocations: 121.5 kB / 0.7945 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3482, allocations: 4 kB / 0.7945 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005201/0.3487, allocations: 127.9 kB / 0.7947 GB, free: 1.164 MB / 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 (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.0005904/0.3493, allocations: 231 kB / 0.7949 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005102/0.3498, allocations: 179.8 kB / 0.7951 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.3498, allocations: 0 / 0.7951 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.3501, allocations: 79.91 kB / 0.7951 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005109/0.3506, allocations: 51.94 kB / 0.7952 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008045/0.3514, allocations: 360.6 kB / 0.7955 GB, free: 248 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003921/0.3518, allocations: 0.7125 MB / 0.7962 GB, free: 15.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001935/0.352, allocations: 36.59 kB / 0.7963 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.3521, allocations: 23.44 kB / 0.7963 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.3521, allocations: 0 / 0.7963 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of Templates: time 0.00931/0.3614, allocations: 4.25 MB / 0.8004 GB, free: 11.24 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)