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.001001/0.001001, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001245/0.001245, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.654/1.654, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.764/1.764, allocations: 292.7 MB / 0.5499 GB, free: 14.59 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.0005139/0.0005139, allocations: 12.69 kB / 0.6738 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3005, allocations: 116.3 MB / 0.7874 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002614/0.3032, allocations: 1.695 MB / 0.789 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002646/0.3059, allocations: 1.549 MB / 0.7906 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.306, allocations: 7.875 kB / 0.7906 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.717e-05/0.3061, allocations: 15.91 kB / 0.7906 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001635/0.3063, allocations: 47.61 kB / 0.7906 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.3076, allocations: 259.2 kB / 0.7909 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000309/0.3079, allocations: 203.1 kB / 0.7911 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001577/0.308, allocations: 41.66 kB / 0.7911 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.3082, allocations: 63.84 kB / 0.7912 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.3084, allocations: 83.66 kB / 0.7913 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.3084, allocations: 12 kB / 0.7913 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009759/0.3094, allocations: 379.5 kB / 0.7916 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.58e-05/0.3095, allocations: 31.84 kB / 0.7917 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.108e-05/0.3096, allocations: 57.64 kB / 0.7917 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006098/0.3102, allocations: 311.5 kB / 0.792 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3102, allocations: 0 / 0.792 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3102, allocations: 0 / 0.792 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.3102, allocations: 0 / 0.792 GB, free: 7.137 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.0009147/0.3111, allocations: 0.4911 MB / 0.7925 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.3112, allocations: 12.02 kB / 0.7925 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.415e-05/0.3113, allocations: 54.56 kB / 0.7926 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005471/0.3118, allocations: 95.8 kB / 0.7926 GB, free: 6.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.312, allocations: 186.7 kB / 0.7928 GB, free: 6.207 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.3121, allocations: 49.69 kB / 0.7929 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.3122, allocations: 16 kB / 0.7929 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.3126, allocations: 189.4 kB / 0.7931 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.3126, allocations: 0 / 0.7931 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.3126, allocations: 8 kB / 0.7931 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.3126, allocations: 7.984 kB / 0.7931 GB, free: 5.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004278/0.3131, allocations: 184.5 kB / 0.7933 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/0.3146, allocations: 0.9148 MB / 0.7941 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004904/0.3151, allocations: 186.5 kB / 0.7943 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.3153, allocations: 84.81 kB / 0.7944 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007068/0.316, allocations: 0.522 MB / 0.7949 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.3161, allocations: 30.56 kB / 0.7949 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.363e-06/0.3161, allocations: 4 kB / 0.7949 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.0007587/0.3168, allocations: 241.5 kB / 0.7952 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.3169, allocations: 63.34 kB / 0.7952 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.3171, allocations: 160.8 kB / 0.7954 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.3171, allocations: 29.7 kB / 0.7954 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.721e-05/0.3172, allocations: 119.8 kB / 0.7955 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.3173, allocations: 47.3 kB / 0.7956 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.3173, allocations: 4 kB / 0.7956 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.3175, allocations: 322.8 kB / 0.7959 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.3177, allocations: 83.95 kB / 0.796 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.3179, allocations: 93.67 kB / 0.7961 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.3181, allocations: 70.73 kB / 0.7961 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3181, allocations: 4 kB / 0.7961 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005294/0.3187, allocations: 221.4 kB / 0.7963 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.3187, allocations: 15.89 kB / 0.7964 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.3187, allocations: 0 / 0.7964 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.3188, allocations: 0 / 0.7964 GB, free: 2.254 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.319, allocations: 44 kB / 0.7964 GB, free: 2.211 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.3191, allocations: 3.938 kB / 0.7964 GB, free: 2.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.3193, allocations: 27.83 kB / 0.7964 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.853e-05/0.3193, allocations: 4 kB / 0.7964 GB, free: 2.176 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 ($PRE.com.isOn,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.3194, allocations: 122.5 kB / 0.7966 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.3195, allocations: 15.81 kB / 0.7966 GB, free: 2.031 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005448/0.32, allocations: 217.9 kB / 0.7968 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.762e-06/0.3201, allocations: 0 / 0.7968 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.3201, allocations: 0 / 0.7968 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.3201, allocations: 4 kB / 0.7968 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.3218, allocations: 0.9895 MB / 0.7977 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.3218, allocations: 0 / 0.7977 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.322, allocations: 27.98 kB / 0.7978 GB, free: 0.6367 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/0.322, allocations: 4 kB / 0.7978 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.3221, allocations: 7.984 kB / 0.7978 GB, free: 0.625 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/0.3221, allocations: 7.922 kB / 0.7978 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.3221, allocations: 4 kB / 0.7978 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005577/0.3227, allocations: 297.1 kB / 0.7981 GB, free: 308 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 9.586e-05/0.3228, allocations: 104.9 kB / 0.7982 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.3228, allocations: 0 / 0.7982 GB, free: 184 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.323, allocations: 19.98 kB / 0.7982 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.866e-05/0.3231, allocations: 15.95 kB / 0.7982 GB, free: 148 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.3231, allocations: 4 kB / 0.7982 GB, free: 144 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001245/0.3233, allocations: 123.2 kB / 0.7983 GB, free: 20 kB / 0.6075 GB Notification: Performance of sort global known variables: time 2.825e-06/0.3233, allocations: 0 / 0.7983 GB, free: 20 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006391/0.3239, allocations: 135.8 kB / 0.7985 GB, free: 15.89 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001391/0.3253, allocations: 0.9442 MB / 0.7994 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005476/0.3259, allocations: 175.9 kB / 0.7996 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.3259, allocations: 0 / 0.7996 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.3261, allocations: 96.02 kB / 0.7996 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004711/0.3266, allocations: 42.55 kB / 0.7997 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.3286, allocations: 1.041 MB / 0.8007 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3289, allocations: 0.7124 MB / 0.8014 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001841/0.3291, allocations: 28.17 kB / 0.8014 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.3292, allocations: 43.42 kB / 0.8015 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of SimCode: time 6.31e-07/0.3292, allocations: 0 / 0.8015 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/0.3489, allocations: 5.621 MB / 0.807 GB, free: 7.305 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.3492, allocations: 216.2 kB / 0.8072 GB, free: 7.062 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.971/2.32, allocations: 4 kB / 0.8072 GB, free: 7.059 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/linux/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) Environment - environmentSimulation: