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.001369/0.001369, allocations: 105.4 kB / 15.7 MB, free: 20 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.001249/0.001249, allocations: 195.4 kB / 16.64 MB, free: 6.582 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.339/1.339, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.734/1.734, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001689/0.001689, allocations: 78.52 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.213, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.0032/0.2163, allocations: 2.029 MB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002234/0.2185, allocations: 1.66 MB / 0.7872 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.503e-05/0.2186, allocations: 4 kB / 0.7872 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.92e-05/0.2187, allocations: 19.8 kB / 0.7873 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.2189, allocations: 47.55 kB / 0.7873 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.2199, allocations: 357.9 kB / 0.7877 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.2201, allocations: 231 kB / 0.7879 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.2203, allocations: 45.27 kB / 0.7879 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.2204, allocations: 83.83 kB / 0.788 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.2206, allocations: 83.67 kB / 0.7881 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.031e-05/0.2206, allocations: 16 kB / 0.7881 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007215/0.2213, allocations: 419.5 kB / 0.7885 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.041e-05/0.2214, allocations: 43.91 kB / 0.7885 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.163e-05/0.2215, allocations: 87.64 kB / 0.7886 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005551/0.222, allocations: 431.2 kB / 0.789 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2221, allocations: 0 / 0.789 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2221, allocations: 0 / 0.789 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.2221, allocations: 0 / 0.789 GB, free: 7.727 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.0007539/0.2228, allocations: 0.5148 MB / 0.7895 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2229, allocations: 8.031 kB / 0.7895 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.028e-05/0.2229, allocations: 58.67 kB / 0.7896 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005233/0.2235, allocations: 88.64 kB / 0.7897 GB, free: 7 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.2236, allocations: 180.1 kB / 0.7899 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.187e-05/0.2237, allocations: 50.25 kB / 0.7899 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.873e-05/0.2237, allocations: 16.38 kB / 0.7899 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.2241, allocations: 186.3 kB / 0.7901 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.2241, allocations: 0 / 0.7901 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.2241, allocations: 16 kB / 0.7901 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2241, allocations: 0 / 0.7901 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004158/0.2246, allocations: 175.9 kB / 0.7903 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.2259, allocations: 0.9189 MB / 0.7912 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.2263, allocations: 174.6 kB / 0.7913 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.2265, allocations: 72.83 kB / 0.7914 GB, free: 5.039 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000589/0.2271, allocations: 0.522 MB / 0.7919 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.2272, allocations: 38.56 kB / 0.792 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 2.805e-06/0.2272, allocations: 0 / 0.792 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0006627/0.2278, allocations: 237.7 kB / 0.7922 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.2279, allocations: 55.41 kB / 0.7922 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.228, allocations: 157.5 kB / 0.7924 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.228, allocations: 33.7 kB / 0.7924 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.289e-05/0.2281, allocations: 111.8 kB / 0.7925 GB, free: 3.742 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.2282, allocations: 51.3 kB / 0.7926 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.346e-05/0.2282, allocations: 41.61 kB / 0.7926 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.642e-05/0.2283, allocations: 322.8 kB / 0.7929 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.2285, allocations: 75.95 kB / 0.793 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.2287, allocations: 93.62 kB / 0.7931 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.2291, allocations: 160.5 kB / 0.7932 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2291, allocations: 0 / 0.7932 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004688/0.2296, allocations: 213.4 kB / 0.7934 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2296, allocations: 4 kB / 0.7934 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2296, allocations: 0 / 0.7934 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.2296, allocations: 7.938 kB / 0.7934 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.2299, allocations: 35.97 kB / 0.7935 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2299, allocations: 32 / 0.7935 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001633/0.2301, allocations: 27.83 kB / 0.7935 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.2301, allocations: 4 kB / 0.7935 GB, free: 2.695 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.000101/0.2302, allocations: 133.7 kB / 0.7936 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.2302, allocations: 15.81 kB / 0.7937 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004787/0.2307, allocations: 194.4 kB / 0.7938 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2307, allocations: 3.984 kB / 0.7938 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2307, allocations: 0 / 0.7938 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2308, allocations: 0 / 0.7938 GB, free: 2.336 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.232, allocations: 0.9778 MB / 0.7948 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2321, allocations: 4 kB / 0.7948 GB, free: 1.199 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.2322, allocations: 27.97 kB / 0.7948 GB, free: 1.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2323, allocations: 3.938 kB / 0.7948 GB, free: 1.168 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.2323, allocations: 8 kB / 0.7948 GB, free: 1.16 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2323, allocations: 4.062 kB / 0.7948 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.2323, allocations: 4 kB / 0.7949 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004466/0.2327, allocations: 288.7 kB / 0.7951 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.2328, allocations: 96.84 kB / 0.7952 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.2328, allocations: 4 kB / 0.7952 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.233, allocations: 19.98 kB / 0.7952 GB, free: 0.7148 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.2331, allocations: 15.92 kB / 0.7953 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.2331, allocations: 4 kB / 0.7953 GB, free: 0.6953 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.186e-05/0.2332, allocations: 125.6 kB / 0.7954 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2332, allocations: 0 / 0.7954 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004128/0.2336, allocations: 127.9 kB / 0.7955 GB, free: 460 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.000951/0.2346, allocations: 0.9403 MB / 0.7964 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004586/0.235, allocations: 183.8 kB / 0.7966 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2351, allocations: 0 / 0.7966 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.2353, allocations: 79.91 kB / 0.7967 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.2356, allocations: 47.94 kB / 0.7967 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002483/0.2381, allocations: 2.066 MB / 0.7987 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002453/0.2384, allocations: 0.7164 MB / 0.7994 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001313/0.2385, allocations: 28.03 kB / 0.7995 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.185e-05/0.2386, allocations: 42.8 kB / 0.7995 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2386, allocations: 4 kB / 0.7995 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.2602, allocations: 6 MB / 0.8054 GB, free: 6.371 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.926/7.187, allocations: 18.61 kB / 0.8054 GB, free: 6.355 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)