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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001719/0.001719, allocations: 195.7 kB / 16.14 MB, free: 6.707 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.429/1.429, allocations: 205.1 MB / 222 MB, free: 4.773 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.777/1.777, allocations: 292.3 MB / 0.5484 GB, free: 13.63 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.001381/0.001381, allocations: 67.47 kB / 0.6709 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.221, allocations: 114.6 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003309/0.2244, allocations: 2.084 MB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002311/0.2267, allocations: 1.735 MB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.2268, allocations: 4 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.797e-05/0.2269, allocations: 19.84 kB / 0.7865 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000102/0.227, allocations: 43.67 kB / 0.7866 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009059/0.2279, allocations: 295.2 kB / 0.7869 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.2282, allocations: 215 kB / 0.7871 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001456/0.2283, allocations: 49.45 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.108e-05/0.2284, allocations: 67.84 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001274/0.2285, allocations: 87.66 kB / 0.7873 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.2286, allocations: 12 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007185/0.2293, allocations: 383.5 kB / 0.7876 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.2294, allocations: 31.91 kB / 0.7877 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.195e-05/0.2294, allocations: 83.64 kB / 0.7878 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005425/0.23, allocations: 431.2 kB / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.23, allocations: 0 / 0.7882 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.092e-06/0.23, allocations: 3.938 kB / 0.7882 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.23, allocations: 0 / 0.7882 GB, free: 8.352 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.0007658/0.2308, allocations: 0.5148 MB / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.2308, allocations: 12.03 kB / 0.7887 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.819e-05/0.2309, allocations: 50.73 kB / 0.7887 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005467/0.2314, allocations: 92.64 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.2316, allocations: 180.1 kB / 0.789 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.777e-05/0.2317, allocations: 54.25 kB / 0.789 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/0.2317, allocations: 12.38 kB / 0.7891 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.2321, allocations: 185.7 kB / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2321, allocations: 0 / 0.7892 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.2321, allocations: 8 kB / 0.7892 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.2321, allocations: 4 kB / 0.7892 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.2326, allocations: 180.5 kB / 0.7894 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.2339, allocations: 0.9186 MB / 0.7903 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004773/0.2344, allocations: 174.6 kB / 0.7905 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.2346, allocations: 80.83 kB / 0.7906 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006202/0.2352, allocations: 0.5181 MB / 0.7911 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.2353, allocations: 46.48 kB / 0.7911 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.2353, allocations: 0 / 0.7911 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0006706/0.2359, allocations: 229 kB / 0.7913 GB, free: 4.746 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.236, allocations: 59.41 kB / 0.7914 GB, free: 4.676 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.2361, allocations: 161.1 kB / 0.7915 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.2361, allocations: 25.7 kB / 0.7916 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.2362, allocations: 123.8 kB / 0.7917 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.2363, allocations: 47.3 kB / 0.7917 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.2363, allocations: 41.61 kB / 0.7918 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.2364, allocations: 322.8 kB / 0.7921 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.2367, allocations: 79.95 kB / 0.7922 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.2369, allocations: 100.5 kB / 0.7922 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/0.2372, allocations: 145.6 kB / 0.7924 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2373, allocations: 0 / 0.7924 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004884/0.2377, allocations: 215.8 kB / 0.7926 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2378, allocations: 4 kB / 0.7926 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.2378, allocations: 3.984 kB / 0.7926 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.2378, allocations: 0 / 0.7926 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.2381, allocations: 35.98 kB / 0.7926 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2381, allocations: 7.984 kB / 0.7926 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.2383, allocations: 23.86 kB / 0.7927 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.2383, allocations: 8 kB / 0.7927 GB, free: 3.312 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 9.92e-05/0.2384, allocations: 129.7 kB / 0.7928 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.191e-05/0.2384, allocations: 15.81 kB / 0.7928 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004941/0.2389, allocations: 206.3 kB / 0.793 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.239, allocations: 0 / 0.793 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.239, allocations: 0 / 0.793 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.239, allocations: 0 / 0.793 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001365/0.2403, allocations: 0.9778 MB / 0.794 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.2404, allocations: 3.984 kB / 0.794 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001977/0.2406, allocations: 27.98 kB / 0.794 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.2406, allocations: 0 / 0.794 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.2406, allocations: 8 kB / 0.794 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.2406, allocations: 3.984 kB / 0.794 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.2406, allocations: 4 kB / 0.794 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004704/0.2411, allocations: 293 kB / 0.7943 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.724e-05/0.2411, allocations: 92.86 kB / 0.7944 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.274e-05/0.2412, allocations: 4 kB / 0.7944 GB, free: 1.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.2414, allocations: 19.98 kB / 0.7944 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.2415, allocations: 15.92 kB / 0.7944 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.2415, allocations: 7.984 kB / 0.7944 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.238e-05/0.2416, allocations: 119.2 kB / 0.7945 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2416, allocations: 0 / 0.7945 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004474/0.242, allocations: 127.9 kB / 0.7947 GB, free: 1.062 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.001017/0.243, allocations: 0.9473 MB / 0.7956 GB, free: 88 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.2435, allocations: 171.8 kB / 0.7957 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.2435, allocations: 0 / 0.7957 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/0.2437, allocations: 91.95 kB / 0.7958 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.2442, allocations: 46.88 kB / 0.7959 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.2467, allocations: 2.088 MB / 0.7979 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.247, allocations: 0.7164 MB / 0.7986 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001613/0.2471, allocations: 32.53 kB / 0.7986 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.2472, allocations: 43.42 kB / 0.7987 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of SimCode: time 6.61e-07/0.2473, allocations: 0 / 0.7987 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01526/0.2625, allocations: 5.754 MB / 0.8043 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/0.2627, allocations: 238.6 kB / 0.8045 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.893/2.156, allocations: 0 / 0.8045 GB, free: 6.961 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)