Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.698/1.698, allocations: 288.4 MB / 303.3 MB, free: 8.191 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.001316/0.001316, allocations: 184.4 kB / 372 MB, free: 10.25 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.887/1.887, allocations: 205.4 MB / 0.6307 GB, free: 9.836 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008747/0.0008749, allocations: 90.91 kB / 0.7441 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004333/0.0004336, allocations: 14.47 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2568, allocations: 115.3 MB / 0.9796 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002031/0.2589, allocations: 1.683 MB / 0.9813 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.2607, allocations: 1.541 MB / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.379e-05/0.2607, allocations: 4 kB / 0.9828 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.986e-05/0.2608, allocations: 15.86 kB / 0.9828 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001119/0.2609, allocations: 43.67 kB / 0.9829 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007594/0.2617, allocations: 271.2 kB / 0.9831 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.2619, allocations: 199.1 kB / 0.9833 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.262, allocations: 49.62 kB / 0.9834 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.765e-05/0.2621, allocations: 63.84 kB / 0.9834 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001246/0.2622, allocations: 79.73 kB / 0.9835 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.413e-05/0.2622, allocations: 8 kB / 0.9835 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006057/0.2629, allocations: 387.5 kB / 0.9839 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.2629, allocations: 31.84 kB / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.2629, allocations: 49.64 kB / 0.9839 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.2633, allocations: 311.5 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.2633, allocations: 4 kB / 0.9842 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.835e-06/0.2633, allocations: 3.984 kB / 0.9843 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.2633, allocations: 0 / 0.9843 GB, free: 22.78 MB / 0.6198 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.000688/0.264, allocations: 499 kB / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.2641, allocations: 8.031 kB / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.003e-05/0.2641, allocations: 54.48 kB / 0.9848 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005343/0.2647, allocations: 95.81 kB / 0.9849 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.2648, allocations: 186.7 kB / 0.9851 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.047e-05/0.2649, allocations: 45.7 kB / 0.9851 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/0.2649, allocations: 15.94 kB / 0.9851 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.2653, allocations: 193.4 kB / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2653, allocations: 0 / 0.9853 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.2653, allocations: 4 kB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2653, allocations: 4 kB / 0.9853 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003922/0.2657, allocations: 191.8 kB / 0.9855 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.2669, allocations: 0.907 MB / 0.9864 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004479/0.2674, allocations: 194.5 kB / 0.9866 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.2675, allocations: 88.81 kB / 0.9866 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000507/0.2681, allocations: 0.5181 MB / 0.9872 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.2681, allocations: 34.56 kB / 0.9872 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=14): time 2.445e-06/0.2681, allocations: 3.984 kB / 0.9872 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14): time 0.0006301/0.2687, allocations: 243 kB / 0.9874 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.2688, allocations: 63.36 kB / 0.9875 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001156/0.2689, allocations: 161.4 kB / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.2689, allocations: 29.7 kB / 0.9877 GB, free: 18.89 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.612e-05/0.269, allocations: 119.8 kB / 0.9878 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.879e-05/0.269, allocations: 51.23 kB / 0.9878 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.202e-05/0.269, allocations: 8 kB / 0.9878 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.986e-05/0.2691, allocations: 318.8 kB / 0.9881 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.2693, allocations: 79.95 kB / 0.9882 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001813/0.2695, allocations: 96.77 kB / 0.9883 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.2697, allocations: 79.97 kB / 0.9884 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2697, allocations: 0 / 0.9884 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004175/0.2701, allocations: 217.4 kB / 0.9886 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.2701, allocations: 9.828 kB / 0.9886 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2701, allocations: 3.938 kB / 0.9886 GB, free: 17.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.2702, allocations: 4 kB / 0.9886 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.2704, allocations: 40 kB / 0.9886 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2704, allocations: 4 kB / 0.9886 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001688/0.2706, allocations: 23.83 kB / 0.9887 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.2706, allocations: 4 kB / 0.9887 GB, free: 17.83 MB / 0.6198 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.012e-05/0.2707, allocations: 125.8 kB / 0.9888 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.2708, allocations: 27.73 kB / 0.9888 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004563/0.2712, allocations: 200.5 kB / 0.989 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2712, allocations: 4 kB / 0.989 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.2712, allocations: 4 kB / 0.989 GB, free: 17.47 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.2713, allocations: 3.984 kB / 0.989 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001118/0.2724, allocations: 0.9856 MB / 0.99 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.2724, allocations: 0 / 0.99 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.2726, allocations: 35.91 kB / 0.99 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.2726, allocations: 0 / 0.99 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.2726, allocations: 8 kB / 0.99 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2726, allocations: 0 / 0.99 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2726, allocations: 4.062 kB / 0.99 GB, free: 16.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.2731, allocations: 297 kB / 0.9903 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.357e-05/0.2731, allocations: 96.89 kB / 0.9904 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.2731, allocations: 8 kB / 0.9904 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.2733, allocations: 11.98 kB / 0.9904 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.2734, allocations: 19.97 kB / 0.9904 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.2734, allocations: 4 kB / 0.9904 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.101e-05/0.2735, allocations: 118.3 kB / 0.9906 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2735, allocations: 4 kB / 0.9906 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004193/0.2739, allocations: 127.9 kB / 0.9907 GB, free: 15.57 MB / 0.6198 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.0008761/0.2748, allocations: 0.9541 MB / 0.9916 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004486/0.2752, allocations: 180.9 kB / 0.9918 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2753, allocations: 0 / 0.9918 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.2754, allocations: 92.08 kB / 0.9919 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.2759, allocations: 39.84 kB / 0.9919 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.2774, allocations: 1.041 MB / 0.9929 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001313/0.2776, allocations: 0.7163 MB / 0.9936 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001591/0.2777, allocations: 33.23 kB / 0.9937 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.544e-05/0.2778, allocations: 39.42 kB / 0.9937 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.2778, allocations: 4 kB / 0.9937 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.2945, allocations: 5.628 MB / 0.9992 GB, free: 6.945 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/0.2948, allocations: 218.9 kB / 0.9994 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.121, allocations: 0 / 0.9994 GB, free: 6.707 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)