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.001536/0.001536, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 196.4 kB / 16.53 MB, free: 6.664 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.532/1.532, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.746/1.746, allocations: 292.3 MB / 0.5489 GB, free: 12.79 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.001415/0.001415, allocations: 66.83 kB / 0.6716 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2024, allocations: 114.6 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003233/0.2057, allocations: 2.019 MB / 0.7854 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002739/0.2085, allocations: 1.664 MB / 0.7871 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.2086, allocations: 0 / 0.7871 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.479e-05/0.2087, allocations: 23.8 kB / 0.7871 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.2089, allocations: 51.55 kB / 0.7871 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.21, allocations: 357.9 kB / 0.7875 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001986/0.2103, allocations: 215.2 kB / 0.7877 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.2104, allocations: 49.47 kB / 0.7877 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.946e-05/0.2105, allocations: 83.72 kB / 0.7878 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001434/0.2107, allocations: 91.66 kB / 0.7879 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.2107, allocations: 20 kB / 0.7879 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007462/0.2115, allocations: 395.5 kB / 0.7883 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.824e-05/0.2115, allocations: 47.89 kB / 0.7883 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.932e-05/0.2116, allocations: 83.66 kB / 0.7884 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006178/0.2123, allocations: 427.2 kB / 0.7888 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2123, allocations: 0 / 0.7888 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2123, allocations: 0 / 0.7888 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2123, allocations: 0 / 0.7888 GB, free: 7.855 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.0008681/0.2132, allocations: 0.5069 MB / 0.7893 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2132, allocations: 19.97 kB / 0.7893 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.682e-05/0.2133, allocations: 50.73 kB / 0.7894 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006034/0.2139, allocations: 88.64 kB / 0.7895 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.214, allocations: 188.1 kB / 0.7897 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.606e-05/0.2141, allocations: 50.27 kB / 0.7897 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.2142, allocations: 16.36 kB / 0.7897 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004036/0.2146, allocations: 190.3 kB / 0.7899 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.2146, allocations: 4 kB / 0.7899 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.2146, allocations: 4 kB / 0.7899 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.2146, allocations: 7.938 kB / 0.7899 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.2151, allocations: 179.9 kB / 0.7901 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.2165, allocations: 0.9187 MB / 0.791 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.217, allocations: 174.5 kB / 0.7912 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.2172, allocations: 80.81 kB / 0.7912 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006568/0.2179, allocations: 0.5181 MB / 0.7917 GB, free: 4.52 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.2179, allocations: 34.56 kB / 0.7918 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 2.284e-06/0.2179, allocations: 0 / 0.7918 GB, free: 4.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0007139/0.2186, allocations: 233.8 kB / 0.792 GB, free: 4.242 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.2187, allocations: 55.41 kB / 0.792 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.2188, allocations: 161.5 kB / 0.7922 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.2189, allocations: 33.7 kB / 0.7922 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.782e-05/0.2189, allocations: 111.8 kB / 0.7923 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.219, allocations: 55.28 kB / 0.7924 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.442e-05/0.2191, allocations: 41.61 kB / 0.7924 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.2192, allocations: 322.8 kB / 0.7927 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002053/0.2194, allocations: 75.95 kB / 0.7928 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.2196, allocations: 96.38 kB / 0.7929 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/0.22, allocations: 149.6 kB / 0.793 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.22, allocations: 0 / 0.793 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000501/0.2205, allocations: 219.8 kB / 0.7933 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.2206, allocations: 4 kB / 0.7933 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.2206, allocations: 0 / 0.7933 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.2206, allocations: 4 kB / 0.7933 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002511/0.2209, allocations: 39.91 kB / 0.7933 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/0.2209, allocations: 4.031 kB / 0.7933 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.2211, allocations: 23.83 kB / 0.7933 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.692e-05/0.2211, allocations: 4 kB / 0.7933 GB, free: 2.812 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 0.0001122/0.2212, allocations: 130.4 kB / 0.7935 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.2213, allocations: 15.81 kB / 0.7935 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005239/0.2218, allocations: 202.4 kB / 0.7937 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.2218, allocations: 0 / 0.7937 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2218, allocations: 0 / 0.7937 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2218, allocations: 0 / 0.7937 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.2233, allocations: 0.9817 MB / 0.7946 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2233, allocations: 0 / 0.7946 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002206/0.2236, allocations: 35.92 kB / 0.7947 GB, free: 1.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/0.2236, allocations: 7.969 kB / 0.7947 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.2236, allocations: 8.062 kB / 0.7947 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2236, allocations: 4 kB / 0.7947 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.2236, allocations: 0 / 0.7947 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/0.2241, allocations: 287.7 kB / 0.795 GB, free: 0.9609 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.2242, allocations: 96.86 kB / 0.795 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.582e-05/0.2243, allocations: 0 / 0.795 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.2245, allocations: 19.97 kB / 0.7951 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.2245, allocations: 15.86 kB / 0.7951 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.2246, allocations: 8 kB / 0.7951 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.184e-05/0.2247, allocations: 125.4 kB / 0.7952 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2247, allocations: 0 / 0.7952 GB, free: 0.6836 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004869/0.2252, allocations: 127.9 kB / 0.7953 GB, free: 0.5586 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.001102/0.2263, allocations: 0.9403 MB / 0.7962 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004958/0.2268, allocations: 179.8 kB / 0.7964 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.2268, allocations: 0 / 0.7964 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.227, allocations: 79.91 kB / 0.7965 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.2274, allocations: 54.39 kB / 0.7965 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00278/0.2302, allocations: 2.055 MB / 0.7986 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.2305, allocations: 0.7085 MB / 0.7992 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001662/0.2307, allocations: 35.67 kB / 0.7993 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.2308, allocations: 43.42 kB / 0.7993 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of SimCode: time 3.81e-07/0.2308, allocations: 0 / 0.7993 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.254, allocations: 5.992 MB / 0.8052 GB, free: 6.496 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.564/7.818, allocations: 3.859 kB / 0.8052 GB, free: 6.492 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)