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.001112/0.001112, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008855/0.008855, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.305/1.305, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.648/1.648, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005034/0.0005034, allocations: 15.03 kB / 0.6744 GB, free: 25.76 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2082, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.001978/0.2102, allocations: 1.745 MB / 0.7897 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.2124, allocations: 1.704 MB / 0.7914 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.2124, allocations: 0 / 0.7914 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.723e-05/0.2125, allocations: 15.91 kB / 0.7914 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.825e-05/0.2126, allocations: 51.55 kB / 0.7914 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000692/0.2133, allocations: 287.2 kB / 0.7917 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.2135, allocations: 219.1 kB / 0.7919 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.2136, allocations: 41.45 kB / 0.7919 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.565e-05/0.2137, allocations: 71.78 kB / 0.792 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.2139, allocations: 75.69 kB / 0.7921 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.2139, allocations: 12 kB / 0.7921 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006381/0.2145, allocations: 391.5 kB / 0.7925 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.097e-05/0.2146, allocations: 27.91 kB / 0.7925 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.061e-05/0.2147, allocations: 101.4 kB / 0.7926 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004867/0.2152, allocations: 423.1 kB / 0.793 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2152, allocations: 3.984 kB / 0.793 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2152, allocations: 0 / 0.793 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.2152, allocations: 0 / 0.793 GB, free: 6.32 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.0006907/0.2159, allocations: 0.4913 MB / 0.7935 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.2159, allocations: 12.03 kB / 0.7935 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.128e-05/0.216, allocations: 50.73 kB / 0.7935 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000566/0.2166, allocations: 92.75 kB / 0.7936 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.2167, allocations: 188.1 kB / 0.7938 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.647e-05/0.2168, allocations: 50.27 kB / 0.7939 GB, free: 5.34 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.048e-05/0.2168, allocations: 16.38 kB / 0.7939 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.2172, allocations: 197.7 kB / 0.7941 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.2172, allocations: 0 / 0.7941 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.262e-05/0.2173, allocations: 4 kB / 0.7941 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.2173, allocations: 4 kB / 0.7941 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.2177, allocations: 188.5 kB / 0.7942 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.219, allocations: 0.9109 MB / 0.7951 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005016/0.2195, allocations: 186.5 kB / 0.7953 GB, free: 3.703 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.2197, allocations: 92.75 kB / 0.7954 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006151/0.2203, allocations: 0.5181 MB / 0.7959 GB, free: 2.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.2204, allocations: 38.56 kB / 0.7959 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.2204, allocations: 4 kB / 0.796 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.000686/0.221, allocations: 245.7 kB / 0.7962 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.2211, allocations: 55.34 kB / 0.7962 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.2212, allocations: 164.9 kB / 0.7964 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.2213, allocations: 25.7 kB / 0.7964 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.2214, allocations: 119.8 kB / 0.7965 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.2214, allocations: 51.23 kB / 0.7966 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.2214, allocations: 21.72 kB / 0.7966 GB, free: 2.219 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.2216, allocations: 322.8 kB / 0.7969 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.2218, allocations: 79.97 kB / 0.797 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.222, allocations: 105.6 kB / 0.7971 GB, free: 1.707 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.2224, allocations: 156.2 kB / 0.7972 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.2224, allocations: 0 / 0.7972 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004746/0.2229, allocations: 221.3 kB / 0.7974 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.2229, allocations: 8.031 kB / 0.7975 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2229, allocations: 4 kB / 0.7975 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.2229, allocations: 0 / 0.7975 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.2232, allocations: 39.91 kB / 0.7975 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.2232, allocations: 4 kB / 0.7975 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.2233, allocations: 23.83 kB / 0.7975 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.2234, allocations: 11.98 kB / 0.7975 GB, free: 1.238 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.0001008/0.2235, allocations: 130.4 kB / 0.7977 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.2235, allocations: 15.89 kB / 0.7977 GB, free: 1.086 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004953/0.224, allocations: 217.4 kB / 0.7979 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.224, allocations: 0 / 0.7979 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.224, allocations: 0 / 0.7979 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.2241, allocations: 0 / 0.7979 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001313/0.2254, allocations: 0.9819 MB / 0.7988 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2254, allocations: 4 kB / 0.7988 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.2256, allocations: 31.91 kB / 0.7989 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2256, allocations: 4 kB / 0.7989 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2256, allocations: 4.062 kB / 0.7989 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.2256, allocations: 4 kB / 0.7989 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.2256, allocations: 0 / 0.7989 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004772/0.2261, allocations: 301 kB / 0.7992 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 4.888e-05/0.2262, allocations: 100.9 kB / 0.7993 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.2262, allocations: 4 kB / 0.7993 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.2264, allocations: 23.91 kB / 0.7993 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.374e-05/0.2265, allocations: 11.92 kB / 0.7993 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.2265, allocations: 8 kB / 0.7993 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.865e-05/0.2266, allocations: 119.2 kB / 0.7994 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2266, allocations: 0 / 0.7994 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003957/0.227, allocations: 131.8 kB / 0.7996 GB, free: 14.95 MB / 0.6231 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.001002/0.228, allocations: 0.9481 MB / 0.8005 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004476/0.2284, allocations: 178.4 kB / 0.8007 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2285, allocations: 4.062 kB / 0.8007 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/0.2287, allocations: 91.83 kB / 0.8007 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.229, allocations: 49.44 kB / 0.8008 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.2316, allocations: 2.142 MB / 0.8029 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.2318, allocations: 0.7201 MB / 0.8036 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001492/0.232, allocations: 32.67 kB / 0.8036 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.169e-05/0.2321, allocations: 43.42 kB / 0.8037 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of SimCode: time 4.81e-07/0.2321, allocations: 0 / 0.8037 GB, free: 10.62 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1527/0.3848, allocations: 5.686 MB / 0.8092 GB, free: 5.145 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003294/0.3852, allocations: 222.8 kB / 0.8094 GB, free: 4.891 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.978/2.363, allocations: 0 / 0.8094 GB, free: 4.891 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)