Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.417/1.417, allocations: 252 MB / 267.6 MB, free: 10.89 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001116/0.001116, allocations: 180.7 kB / 327.3 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.992/1.992, allocations: 205.4 MB / 0.5783 GB, free: 20.2 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007266/0.0007268, allocations: 81.5 kB / 0.6829 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003405/0.0003404, allocations: 12.28 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.2398, allocations: 106.3 MB / 0.9008 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002092/0.2419, allocations: 1.691 MB / 0.9025 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002014/0.244, allocations: 1.893 MB / 0.9043 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.987e-05/0.2441, allocations: 0 / 0.9043 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.448e-05/0.2441, allocations: 19.91 kB / 0.9043 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.2442, allocations: 39.62 kB / 0.9044 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009375/0.2452, allocations: 366.5 kB / 0.9047 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.2454, allocations: 207.1 kB / 0.9049 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2455, allocations: 41.62 kB / 0.905 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.326e-05/0.2456, allocations: 67.78 kB / 0.905 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.2457, allocations: 79.73 kB / 0.9051 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.2458, allocations: 16 kB / 0.9051 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006041/0.2464, allocations: 459.2 kB / 0.9056 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.563e-05/0.2464, allocations: 27.91 kB / 0.9056 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.2465, allocations: 57.64 kB / 0.9056 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004189/0.2469, allocations: 379.4 kB / 0.906 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2469, allocations: 0 / 0.906 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2469, allocations: 0 / 0.906 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2469, allocations: 4 kB / 0.906 GB, free: 58.46 MB / 0.6042 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.0007285/0.2476, allocations: 0.5146 MB / 0.9065 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.2477, allocations: 8.031 kB / 0.9065 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005557/0.2483, allocations: 103.7 kB / 0.9066 GB, free: 57.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.2484, allocations: 182.8 kB / 0.9068 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.439e-05/0.2485, allocations: 57.62 kB / 0.9069 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.495e-05/0.2485, allocations: 16 kB / 0.9069 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.2489, allocations: 181.4 kB / 0.907 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.2489, allocations: 0 / 0.907 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.477e-05/0.2489, allocations: 8 kB / 0.907 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.2489, allocations: 7.938 kB / 0.9071 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003994/0.2493, allocations: 191.8 kB / 0.9072 GB, free: 57.11 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.2506, allocations: 0.9149 MB / 0.9081 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.2511, allocations: 186.5 kB / 0.9083 GB, free: 55.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.2513, allocations: 80.81 kB / 0.9084 GB, free: 55.79 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005363/0.2518, allocations: 0.5259 MB / 0.9089 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.2518, allocations: 34.55 kB / 0.9089 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.2519, allocations: 0 / 0.9089 GB, free: 55.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0006532/0.2525, allocations: 251.8 kB / 0.9092 GB, free: 54.86 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.2526, allocations: 59.36 kB / 0.9092 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.2527, allocations: 157.5 kB / 0.9094 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.2527, allocations: 37.69 kB / 0.9094 GB, free: 54.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.886e-05/0.2527, allocations: 111.8 kB / 0.9095 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.2528, allocations: 51.3 kB / 0.9096 GB, free: 54.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.203e-05/0.2528, allocations: 4 kB / 0.9096 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.206e-05/0.2529, allocations: 326.8 kB / 0.9099 GB, free: 54.09 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.253, allocations: 75.95 kB / 0.91 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.2532, allocations: 96.59 kB / 0.9101 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.2534, allocations: 71.98 kB / 0.9101 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2534, allocations: 3.953 kB / 0.9101 GB, free: 53.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004538/0.2539, allocations: 223.6 kB / 0.9103 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.2539, allocations: 15.98 kB / 0.9104 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.2539, allocations: 0 / 0.9104 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.2539, allocations: 0 / 0.9104 GB, free: 53.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.2542, allocations: 43.91 kB / 0.9104 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2542, allocations: 0 / 0.9104 GB, free: 53.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.2544, allocations: 27.83 kB / 0.9104 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.2544, allocations: 4 kB / 0.9104 GB, free: 53.54 MB / 0.6042 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 9.196e-05/0.2545, allocations: 129.7 kB / 0.9105 GB, free: 53.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.2546, allocations: 11.91 kB / 0.9106 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004675/0.255, allocations: 214.3 kB / 0.9108 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.255, allocations: 0 / 0.9108 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2551, allocations: 0 / 0.9108 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.2551, allocations: 0 / 0.9108 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.2562, allocations: 0.9895 MB / 0.9117 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2562, allocations: 0 / 0.9117 GB, free: 52.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.2564, allocations: 35.91 kB / 0.9118 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.2564, allocations: 4.062 kB / 0.9118 GB, free: 51.99 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.2565, allocations: 11.94 kB / 0.9118 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2565, allocations: 0 / 0.9118 GB, free: 51.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2565, allocations: 8 kB / 0.9118 GB, free: 51.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004083/0.2569, allocations: 291.8 kB / 0.9121 GB, free: 51.66 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.417e-05/0.2569, allocations: 104.8 kB / 0.9122 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.257, allocations: 4 kB / 0.9122 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.2572, allocations: 15.98 kB / 0.9122 GB, free: 51.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.2572, allocations: 15.97 kB / 0.9122 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.2572, allocations: 8 kB / 0.9122 GB, free: 51.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.36e-05/0.2573, allocations: 118.3 kB / 0.9123 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2573, allocations: 0 / 0.9123 GB, free: 51.39 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005078/0.2578, allocations: 167.9 kB / 0.9125 GB, free: 51.22 MB / 0.6042 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.000474/0.2583, allocations: 282.9 kB / 0.9128 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004487/0.2588, allocations: 187.8 kB / 0.9129 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.2588, allocations: 4 kB / 0.9129 GB, free: 50.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000175/0.259, allocations: 79.91 kB / 0.913 GB, free: 50.67 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.2594, allocations: 52.11 kB / 0.9131 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.2599, allocations: 395.3 kB / 0.9134 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000141/0.2601, allocations: 0.7167 MB / 0.9141 GB, free: 49.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.873e-05/0.2602, allocations: 19.44 kB / 0.9142 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of SimCode: time 2.4e-07/0.2602, allocations: 0 / 0.9142 GB, free: 49.43 MB / 0.6042 GB Notification: Performance of Templates: time 0.005212/0.2654, allocations: 4.077 MB / 0.9181 GB, free: 45.39 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)