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.001157/0.001157, allocations: 108 kB / 15.6 MB, free: 128 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.001174/0.001174, allocations: 198.2 kB / 16.53 MB, free: 6.668 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.168/1.168, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.537/1.537, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.002273/0.002273, allocations: 69.48 kB / 0.6716 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2237, allocations: 114.5 MB / 0.7835 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.003006/0.2267, allocations: 2.033 MB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002334/0.2291, allocations: 1.66 MB / 0.7871 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.974e-05/0.2292, allocations: 4 kB / 0.7871 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.398e-05/0.2293, allocations: 15.8 kB / 0.7871 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.2294, allocations: 55.55 kB / 0.7871 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009529/0.2304, allocations: 350.8 kB / 0.7875 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000215/0.2306, allocations: 223.1 kB / 0.7877 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.2307, allocations: 49.47 kB / 0.7877 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.428e-05/0.2308, allocations: 87.77 kB / 0.7878 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.231, allocations: 83.67 kB / 0.7879 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.999e-05/0.231, allocations: 16 kB / 0.7879 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007205/0.2317, allocations: 407.5 kB / 0.7883 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/0.2318, allocations: 39.91 kB / 0.7883 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.231e-05/0.2319, allocations: 87.66 kB / 0.7884 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004895/0.2324, allocations: 423.2 kB / 0.7888 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2324, allocations: 3.984 kB / 0.7888 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2324, allocations: 0 / 0.7888 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.2324, allocations: 0 / 0.7888 GB, free: 7.871 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.0007275/0.2331, allocations: 0.5108 MB / 0.7893 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.2332, allocations: 8.031 kB / 0.7893 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.854e-05/0.2332, allocations: 54.73 kB / 0.7894 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005548/0.2338, allocations: 88.64 kB / 0.7895 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2339, allocations: 184.1 kB / 0.7897 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.97e-05/0.234, allocations: 54.14 kB / 0.7897 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.234, allocations: 16.38 kB / 0.7897 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.2344, allocations: 186.3 kB / 0.7899 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2344, allocations: 0 / 0.7899 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.2345, allocations: 4 kB / 0.7899 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.2345, allocations: 4 kB / 0.7899 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.2349, allocations: 183.9 kB / 0.7901 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.2362, allocations: 0.9226 MB / 0.791 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.2366, allocations: 166.6 kB / 0.7911 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.2368, allocations: 80.75 kB / 0.7912 GB, free: 5.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006262/0.2375, allocations: 0.522 MB / 0.7917 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.2375, allocations: 34.56 kB / 0.7918 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.142e-06/0.2375, allocations: 0 / 0.7918 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.000676/0.2382, allocations: 244.6 kB / 0.792 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.2382, allocations: 51.41 kB / 0.792 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.2384, allocations: 161.3 kB / 0.7922 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.2384, allocations: 25.7 kB / 0.7922 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.342e-05/0.2385, allocations: 119.8 kB / 0.7923 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.2385, allocations: 51.3 kB / 0.7924 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.865e-05/0.2386, allocations: 37.61 kB / 0.7924 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2387, allocations: 330.8 kB / 0.7927 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.2389, allocations: 71.95 kB / 0.7928 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.2391, allocations: 93.62 kB / 0.7929 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.2395, allocations: 160 kB / 0.7931 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.2395, allocations: 4 kB / 0.7931 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004685/0.24, allocations: 209.5 kB / 0.7933 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.24, allocations: 4 kB / 0.7933 GB, free: 2.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.24, allocations: 4 kB / 0.7933 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.2401, allocations: 3.938 kB / 0.7933 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.2403, allocations: 40 kB / 0.7933 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2403, allocations: 0 / 0.7933 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001739/0.2405, allocations: 31.81 kB / 0.7933 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.2405, allocations: 4 kB / 0.7933 GB, free: 2.828 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.0001073/0.2406, allocations: 126.4 kB / 0.7935 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.441e-05/0.2407, allocations: 15.81 kB / 0.7935 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004971/0.2412, allocations: 198.4 kB / 0.7937 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.2412, allocations: 0 / 0.7937 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2412, allocations: 4 kB / 0.7937 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2412, allocations: 0 / 0.7937 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/0.2426, allocations: 0.9855 MB / 0.7946 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2426, allocations: 0 / 0.7946 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001856/0.2428, allocations: 27.92 kB / 0.7947 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.164e-06/0.2428, allocations: 12.05 kB / 0.7947 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2428, allocations: 4 kB / 0.7947 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2428, allocations: 4 kB / 0.7947 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2428, allocations: 0 / 0.7947 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.2433, allocations: 288.5 kB / 0.795 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.2433, allocations: 96.86 kB / 0.795 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.191e-05/0.2434, allocations: 4 kB / 0.795 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.2436, allocations: 15.97 kB / 0.7951 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.2436, allocations: 15.92 kB / 0.7951 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.327e-05/0.2436, allocations: 4 kB / 0.7951 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.354e-05/0.2437, allocations: 117.7 kB / 0.7952 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2437, allocations: 4 kB / 0.7952 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004266/0.2442, allocations: 131.9 kB / 0.7953 GB, free: 0.5859 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.001042/0.2452, allocations: 0.9442 MB / 0.7962 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004684/0.2457, allocations: 179.8 kB / 0.7964 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2457, allocations: 0 / 0.7964 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.2459, allocations: 79.91 kB / 0.7965 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.2463, allocations: 55.89 kB / 0.7965 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.2488, allocations: 2.061 MB / 0.7986 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002411/0.2491, allocations: 0.7085 MB / 0.7993 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001453/0.2492, allocations: 28.42 kB / 0.7993 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.662e-05/0.2493, allocations: 39.42 kB / 0.7993 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.2493, allocations: 0 / 0.7993 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4758/0.7251, allocations: 5.998 MB / 0.8052 GB, free: 6.516 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.815, allocations: 7.922 kB / 0.8052 GB, free: 6.508 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)