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/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.65/1.65, allocations: 292.3 MB / 308.1 MB, free: 4.293 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.001275/0.001275, allocations: 194.2 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.1 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00105/0.00105, allocations: 99.06 kB / 0.748 GB, free: 61.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00107/0.00107, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2352, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.004279/0.2396, allocations: 2.084 MB / 0.9842 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002805/0.2424, allocations: 1.758 MB / 0.986 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.2426, allocations: 0 / 0.986 GB, free: 6.527 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 7.724e-05/0.2427, allocations: 11.86 kB / 0.986 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001377/0.2428, allocations: 47.67 kB / 0.986 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.2439, allocations: 295.2 kB / 0.9863 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002556/0.2441, allocations: 215 kB / 0.9865 GB, free: 5.969 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.2443, allocations: 45.47 kB / 0.9866 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.2444, allocations: 67.84 kB / 0.9866 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001711/0.2446, allocations: 87.66 kB / 0.9867 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.016e-05/0.2446, allocations: 12 kB / 0.9867 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008255/0.2455, allocations: 387.5 kB / 0.9871 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.851e-05/0.2455, allocations: 31.91 kB / 0.9871 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 9.069e-05/0.2456, allocations: 91.64 kB / 0.9872 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0005625/0.2462, allocations: 423.1 kB / 0.9876 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2462, allocations: 0 / 0.9876 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of FrontEnd: time 7.71e-07/0.2462, allocations: 0 / 0.9876 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.2462, allocations: 0 / 0.9876 GB, free: 4.844 MB / 0.7136 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.0008237/0.2471, allocations: 0.5109 MB / 0.9881 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.2471, allocations: 16.03 kB / 0.9881 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005871/0.2477, allocations: 88.64 kB / 0.9882 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.2478, allocations: 184.1 kB / 0.9884 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.222e-05/0.2479, allocations: 46.27 kB / 0.9884 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.248, allocations: 16.38 kB / 0.9884 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.2484, allocations: 186 kB / 0.9886 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.2484, allocations: 3.938 kB / 0.9886 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.2484, allocations: 7.938 kB / 0.9886 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.2484, allocations: 7.984 kB / 0.9886 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004569/0.2489, allocations: 179.9 kB / 0.9888 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.2503, allocations: 0.9035 MB / 0.9897 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005435/0.2509, allocations: 182.5 kB / 0.9899 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001979/0.2511, allocations: 80.81 kB / 0.9899 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006783/0.2518, allocations: 0.5259 MB / 0.9905 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.2518, allocations: 30.56 kB / 0.9905 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=14): time 3.216e-06/0.2518, allocations: 0 / 0.9905 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=14): time 0.0007458/0.2526, allocations: 233.5 kB / 0.9907 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.2527, allocations: 55.41 kB / 0.9908 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.2528, allocations: 166.1 kB / 0.9909 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.2529, allocations: 29.7 kB / 0.9909 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.798e-05/0.2529, allocations: 115.7 kB / 0.9911 GB, free: 0.918 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.292e-05/0.253, allocations: 51.3 kB / 0.9911 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.2531, allocations: 41.66 kB / 0.9911 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.2532, allocations: 322.8 kB / 0.9915 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.2534, allocations: 79.95 kB / 0.9915 GB, free: 428 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.2537, allocations: 95.84 kB / 0.9916 GB, free: 328 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.2541, allocations: 139.6 kB / 0.9918 GB, free: 184 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2541, allocations: 11.94 kB / 0.9918 GB, free: 172 kB / 0.7136 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005202/0.2546, allocations: 213.4 kB / 0.992 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.2546, allocations: 6.812 kB / 0.992 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.2547, allocations: 8 kB / 0.992 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2547, allocations: 0 / 0.992 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.2549, allocations: 35.97 kB / 0.992 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.2549, allocations: 3.938 kB / 0.992 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.2551, allocations: 31.77 kB / 0.992 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.2552, allocations: 11.94 kB / 0.9921 GB, free: 15.86 MB / 0.7292 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.0001181/0.2553, allocations: 125.8 kB / 0.9922 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.772e-05/0.2553, allocations: 11.91 kB / 0.9922 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005281/0.2559, allocations: 202.6 kB / 0.9924 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2559, allocations: 0 / 0.9924 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2559, allocations: 0 / 0.9924 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2559, allocations: 4 kB / 0.9924 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.2574, allocations: 0.9778 MB / 0.9933 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2574, allocations: 0 / 0.9933 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.2576, allocations: 27.98 kB / 0.9934 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.373e-06/0.2576, allocations: 7.984 kB / 0.9934 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.2577, allocations: 0 / 0.9934 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.2577, allocations: 4 kB / 0.9934 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2577, allocations: 11.94 kB / 0.9934 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.2587, allocations: 0.9246 MB / 0.9943 GB, free: 13.33 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.2588, allocations: 96.84 kB / 0.9944 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.2589, allocations: 7.938 kB / 0.9944 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002321/0.2591, allocations: 19.97 kB / 0.9944 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.741e-05/0.2592, allocations: 7.984 kB / 0.9944 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/0.2592, allocations: 4 kB / 0.9944 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.313e-05/0.2593, allocations: 123.2 kB / 0.9945 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2593, allocations: 4 kB / 0.9945 GB, free: 13.05 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006097/0.2599, allocations: 123.9 kB / 0.9947 GB, free: 12.93 MB / 0.7292 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.0004868/0.2604, allocations: 223.1 kB / 0.9949 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004831/0.2609, allocations: 176.5 kB / 0.995 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.2609, allocations: 3.938 kB / 0.9951 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002176/0.2611, allocations: 87.83 kB / 0.9951 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.2616, allocations: 48.09 kB / 0.9952 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009017/0.2625, allocations: 0.4933 MB / 0.9957 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.2628, allocations: 0.7088 MB / 0.9964 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001617/0.263, allocations: 29.55 kB / 0.9964 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.2631, allocations: 23.42 kB / 0.9964 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of SimCode: time 1.463e-06/0.2631, allocations: 0 / 0.9964 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of Templates: time 0.007992/0.2711, allocations: 4.216 MB / 1.001 GB, free: 6.883 MB / 0.7292 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)