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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.44/1.44, allocations: 252 MB / 267.3 MB, free: 10.8 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.001208/0.001209, allocations: 163.6 kB / 327 MB, free: 2.098 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.906/1.906, allocations: 205.4 MB / 0.578 GB, free: 20.17 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.0009252/0.0009251, allocations: 91.5 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003633, allocations: 16.94 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2436, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.0023/0.246, allocations: 1.744 MB / 0.9026 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002686/0.2487, allocations: 2.047 MB / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.2489, allocations: 0 / 0.9046 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 6.891e-05/0.249, allocations: 15.91 kB / 0.9046 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.2492, allocations: 47.61 kB / 0.9047 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001566/0.2508, allocations: 370.6 kB / 0.905 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002685/0.2511, allocations: 219.1 kB / 0.9052 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.2512, allocations: 37.48 kB / 0.9053 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001525/0.2514, allocations: 67.77 kB / 0.9053 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.2516, allocations: 83.67 kB / 0.9054 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.2516, allocations: 8 kB / 0.9054 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009923/0.2526, allocations: 483.1 kB / 0.9059 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.685e-05/0.2527, allocations: 31.89 kB / 0.9059 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.2528, allocations: 105.4 kB / 0.906 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.254, allocations: 0.499 MB / 0.9065 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.254, allocations: 0 / 0.9065 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.893e-06/0.254, allocations: 0 / 0.9065 GB, free: 57.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.254, allocations: 0 / 0.9065 GB, free: 57.62 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.0009806/0.255, allocations: 0.5226 MB / 0.907 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.2551, allocations: 12.03 kB / 0.907 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.371e-05/0.2551, allocations: 46.73 kB / 0.9071 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005798/0.2557, allocations: 104.6 kB / 0.9072 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.2559, allocations: 184 kB / 0.9073 GB, free: 56.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.314e-05/0.256, allocations: 50.25 kB / 0.9074 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.256, allocations: 16.38 kB / 0.9074 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004016/0.2564, allocations: 193.7 kB / 0.9076 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.2564, allocations: 3.984 kB / 0.9076 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.2565, allocations: 8 kB / 0.9076 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.2565, allocations: 4 kB / 0.9076 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004256/0.2569, allocations: 183.9 kB / 0.9078 GB, free: 56.2 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.2583, allocations: 0.9188 MB / 0.9087 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004664/0.2588, allocations: 186.5 kB / 0.9089 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.259, allocations: 88.75 kB / 0.9089 GB, free: 54.87 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005381/0.2595, allocations: 0.5184 MB / 0.9095 GB, free: 54.24 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.48e-05/0.2595, allocations: 34.56 kB / 0.9095 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.643e-06/0.2595, allocations: 0 / 0.9095 GB, free: 54.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.0006725/0.2602, allocations: 248.5 kB / 0.9097 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.2603, allocations: 59.39 kB / 0.9098 GB, free: 53.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.2604, allocations: 160.4 kB / 0.9099 GB, free: 53.72 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.2604, allocations: 29.7 kB / 0.91 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.2605, allocations: 123.8 kB / 0.9101 GB, free: 53.56 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.2605, allocations: 43.36 kB / 0.9101 GB, free: 53.52 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.2605, allocations: 8 kB / 0.9101 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.262e-05/0.2606, allocations: 322.8 kB / 0.9104 GB, free: 53.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.2608, allocations: 75.95 kB / 0.9105 GB, free: 53.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.261, allocations: 101.6 kB / 0.9106 GB, free: 53 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.2614, allocations: 164.8 kB / 0.9108 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2614, allocations: 0 / 0.9108 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004686/0.2619, allocations: 217.5 kB / 0.911 GB, free: 52.62 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2619, allocations: 11.98 kB / 0.911 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.2619, allocations: 0 / 0.911 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2619, allocations: 0 / 0.911 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/0.2622, allocations: 43.91 kB / 0.911 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.2622, allocations: 0 / 0.911 GB, free: 52.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.2624, allocations: 31.77 kB / 0.9111 GB, free: 52.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.2624, allocations: 8 kB / 0.9111 GB, free: 52.53 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.2625, allocations: 125.7 kB / 0.9112 GB, free: 52.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.2626, allocations: 15.81 kB / 0.9112 GB, free: 52.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004865/0.2631, allocations: 206.4 kB / 0.9114 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2631, allocations: 3.938 kB / 0.9114 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.2631, allocations: 0 / 0.9114 GB, free: 52.17 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.2631, allocations: 4 kB / 0.9114 GB, free: 52.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.2643, allocations: 0.9895 MB / 0.9124 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2643, allocations: 4 kB / 0.9124 GB, free: 51.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.2645, allocations: 39.98 kB / 0.9124 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.2645, allocations: 0 / 0.9124 GB, free: 50.98 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.2645, allocations: 3.984 kB / 0.9124 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.2646, allocations: 4 kB / 0.9124 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2646, allocations: 0 / 0.9124 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000452/0.265, allocations: 301 kB / 0.9127 GB, free: 50.65 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.2651, allocations: 104.8 kB / 0.9128 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.295e-05/0.2651, allocations: 4 kB / 0.9128 GB, free: 50.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.2653, allocations: 19.98 kB / 0.9128 GB, free: 50.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.2654, allocations: 11.92 kB / 0.9128 GB, free: 50.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.2654, allocations: 4 kB / 0.9128 GB, free: 50.49 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.013e-05/0.2655, allocations: 122.7 kB / 0.913 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2655, allocations: 0 / 0.913 GB, free: 50.38 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005161/0.266, allocations: 167.8 kB / 0.9131 GB, free: 50.21 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 (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.001108/0.2671, allocations: 1.011 MB / 0.9141 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000436/0.2676, allocations: 179.9 kB / 0.9143 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.2676, allocations: 4 kB / 0.9143 GB, free: 48.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.2678, allocations: 84.08 kB / 0.9144 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.2682, allocations: 46.14 kB / 0.9144 GB, free: 48.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.2706, allocations: 2.178 MB / 0.9165 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000186/0.2708, allocations: 0.7163 MB / 0.9172 GB, free: 45.85 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001746/0.271, allocations: 29.73 kB / 0.9173 GB, free: 45.82 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.931e-05/0.2711, allocations: 43.42 kB / 0.9173 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of SimCode: time 4.81e-07/0.2711, allocations: 4 kB / 0.9173 GB, free: 45.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01705/0.2882, allocations: 5.864 MB / 0.923 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/0.2884, allocations: 250.8 kB / 0.9233 GB, free: 39.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.089/2.378, allocations: 0 / 0.9233 GB, free: 39.85 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)