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.001077/0.001077, allocations: 105.4 kB / 15.7 MB, free: 24 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.001062/0.001062, allocations: 198.6 kB / 16.64 MB, free: 6.445 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.304/1.304, allocations: 205.1 MB / 222.5 MB, free: 4.562 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.603/1.603, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001335/0.001335, allocations: 78.09 kB / 0.6718 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2036/0.205, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003134/0.2082, allocations: 2.033 MB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.2103, allocations: 1.668 MB / 0.7872 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.853e-05/0.2104, allocations: 0 / 0.7872 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.962e-05/0.2105, allocations: 19.8 kB / 0.7873 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.54e-05/0.2106, allocations: 51.55 kB / 0.7873 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00085/0.2115, allocations: 346.8 kB / 0.7876 GB, free: 9.121 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.2117, allocations: 231 kB / 0.7879 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.2118, allocations: 53.27 kB / 0.7879 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.009e-05/0.2119, allocations: 75.83 kB / 0.788 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.2121, allocations: 87.67 kB / 0.7881 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.927e-05/0.2121, allocations: 23.94 kB / 0.7881 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006813/0.2128, allocations: 407.6 kB / 0.7885 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.984e-05/0.2128, allocations: 43.89 kB / 0.7885 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.191e-05/0.2129, allocations: 87.66 kB / 0.7886 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004982/0.2134, allocations: 435.1 kB / 0.789 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2134, allocations: 0 / 0.789 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2135, allocations: 0 / 0.789 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.2135, allocations: 0 / 0.789 GB, free: 7.703 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.0007305/0.2142, allocations: 0.5148 MB / 0.7895 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.2142, allocations: 12.03 kB / 0.7895 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.837e-05/0.2143, allocations: 50.73 kB / 0.7896 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005428/0.2148, allocations: 88.66 kB / 0.7897 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.215, allocations: 192 kB / 0.7899 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.613e-05/0.2151, allocations: 50.25 kB / 0.7899 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.2151, allocations: 16.31 kB / 0.7899 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003831/0.2155, allocations: 182.3 kB / 0.7901 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2155, allocations: 0 / 0.7901 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.2155, allocations: 11.98 kB / 0.7901 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.2155, allocations: 7.938 kB / 0.7901 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.216, allocations: 179.9 kB / 0.7903 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.2172, allocations: 0.9072 MB / 0.7912 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004646/0.2176, allocations: 170.5 kB / 0.7913 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.2178, allocations: 76.83 kB / 0.7914 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005906/0.2184, allocations: 0.5259 MB / 0.7919 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.2185, allocations: 34.56 kB / 0.7919 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.2185, allocations: 0 / 0.7919 GB, free: 4.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0006513/0.2191, allocations: 233.8 kB / 0.7922 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.2192, allocations: 55.41 kB / 0.7922 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.2193, allocations: 165.5 kB / 0.7924 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.2193, allocations: 25.7 kB / 0.7924 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.43e-05/0.2194, allocations: 119.8 kB / 0.7925 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.2194, allocations: 43.3 kB / 0.7926 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.767e-05/0.2195, allocations: 41.61 kB / 0.7926 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.573e-05/0.2196, allocations: 326.8 kB / 0.7929 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001927/0.2198, allocations: 75.95 kB / 0.793 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.22, allocations: 100.4 kB / 0.7931 GB, free: 3.121 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003532/0.2204, allocations: 149.6 kB / 0.7932 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.2204, allocations: 4 kB / 0.7932 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000455/0.2208, allocations: 211.8 kB / 0.7934 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2209, allocations: 8 kB / 0.7934 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2209, allocations: 3.938 kB / 0.7934 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.2209, allocations: 0 / 0.7934 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.2211, allocations: 43.91 kB / 0.7935 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2212, allocations: 0 / 0.7935 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.2213, allocations: 27.86 kB / 0.7935 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.2214, allocations: 8 kB / 0.7935 GB, free: 2.664 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.637e-05/0.2215, allocations: 126.6 kB / 0.7936 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.429e-05/0.2215, allocations: 15.81 kB / 0.7937 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004831/0.222, allocations: 200.8 kB / 0.7938 GB, free: 2.312 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.222, allocations: 4 kB / 0.7938 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.222, allocations: 3.938 kB / 0.7939 GB, free: 2.305 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.222, allocations: 3.984 kB / 0.7939 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001271/0.2233, allocations: 0.974 MB / 0.7948 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.2233, allocations: 0 / 0.7948 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000187/0.2235, allocations: 35.84 kB / 0.7948 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.2235, allocations: 4 kB / 0.7948 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.2235, allocations: 4 kB / 0.7948 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.2236, allocations: 4 kB / 0.7949 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2236, allocations: 0 / 0.7949 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004392/0.224, allocations: 281.1 kB / 0.7951 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.2241, allocations: 92.86 kB / 0.7952 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.2241, allocations: 11.98 kB / 0.7952 GB, free: 0.707 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.2243, allocations: 15.98 kB / 0.7952 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.2244, allocations: 19.86 kB / 0.7953 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.2244, allocations: 4 kB / 0.7953 GB, free: 0.668 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.193e-05/0.2245, allocations: 121.5 kB / 0.7954 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2245, allocations: 0 / 0.7954 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004065/0.2249, allocations: 123.9 kB / 0.7955 GB, free: 440 kB / 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.0009766/0.2259, allocations: 0.9472 MB / 0.7964 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004518/0.2263, allocations: 179.8 kB / 0.7966 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2263, allocations: 64 / 0.7966 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.2265, allocations: 83.91 kB / 0.7967 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.2269, allocations: 56.67 kB / 0.7967 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.2294, allocations: 2.065 MB / 0.7987 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.2296, allocations: 0.7086 MB / 0.7994 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001294/0.2298, allocations: 24.91 kB / 0.7995 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.497e-05/0.2299, allocations: 55.28 kB / 0.7995 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.2299, allocations: 0 / 0.7995 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02073/0.2506, allocations: 5.999 MB / 0.8054 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.399/7.65, allocations: 5.734 kB / 0.8054 GB, free: 6.34 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)