Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,fileNamePrefix="IBPSA_latest_IBPSA_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.001046/0.00105, allocations: 98.8 kB / 16.26 MB, free: 5.93 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.001148/0.001148, allocations: 190.5 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7324/0.7324, allocations: 122.9 MB / 413.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.91 kB / 0.4912 GB, free: 7.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3107, allocations: 77.92 MB / 0.5673 GB, free: 32.81 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002598/0.3133, allocations: 1.998 MB / 0.5692 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.3151, allocations: 1.659 MB / 0.5709 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.171e-05/0.3152, allocations: 2.094 kB / 0.5709 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.457e-05/0.3152, allocations: 20.69 kB / 0.5709 GB, free: 30.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.218e-05/0.3153, allocations: 49.52 kB / 0.5709 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007671/0.3161, allocations: 354 kB / 0.5713 GB, free: 30.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.3163, allocations: 221.7 kB / 0.5715 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3164, allocations: 55.42 kB / 0.5715 GB, free: 29.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.201e-05/0.3165, allocations: 77.11 kB / 0.5716 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.3166, allocations: 92.59 kB / 0.5717 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.761e-05/0.3167, allocations: 18.34 kB / 0.5717 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006231/0.3173, allocations: 400.7 kB / 0.5721 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.233e-05/0.3173, allocations: 42.17 kB / 0.5721 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.804e-05/0.3174, allocations: 85.28 kB / 0.5722 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004948/0.3179, allocations: 428.2 kB / 0.5726 GB, free: 29.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.3179, allocations: 0 / 0.5726 GB, free: 29.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3179, allocations: 0 / 0.5726 GB, free: 29.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.3179, allocations: 0 / 0.5726 GB, free: 29.5 MB / 446.1 MB 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.0006237/0.3186, allocations: 0.5213 MB / 0.5731 GB, free: 29.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.3186, allocations: 10.64 kB / 0.5731 GB, free: 29.03 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.3186, allocations: 55.28 kB / 0.5732 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005473/0.3192, allocations: 90.11 kB / 0.5733 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.862e-05/0.3193, allocations: 178.7 kB / 0.5734 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/0.3193, allocations: 48.88 kB / 0.5735 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.3194, allocations: 19.23 kB / 0.5735 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.3197, allocations: 185.7 kB / 0.5737 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3198, allocations: 1.5 kB / 0.5737 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.057e-05/0.3198, allocations: 5.438 kB / 0.5737 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3198, allocations: 3.656 kB / 0.5737 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.3202, allocations: 183.3 kB / 0.5739 GB, free: 28.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001052/0.3213, allocations: 0.9188 MB / 0.5748 GB, free: 27.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004565/0.3217, allocations: 168.3 kB / 0.5749 GB, free: 27.69 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.3219, allocations: 79.8 kB / 0.575 GB, free: 27.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004866/0.3224, allocations: 0.5175 MB / 0.5755 GB, free: 27.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.3225, allocations: 34.55 kB / 0.5755 GB, free: 27.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.3225, allocations: 0 / 0.5755 GB, free: 27.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006334/0.3231, allocations: 245.6 kB / 0.5758 GB, free: 26.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.3231, allocations: 55.53 kB / 0.5758 GB, free: 26.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3232, allocations: 158.6 kB / 0.576 GB, free: 26.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.3233, allocations: 27.86 kB / 0.576 GB, free: 26.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.171e-05/0.3233, allocations: 119.7 kB / 0.5761 GB, free: 26.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.3233, allocations: 49.3 kB / 0.5762 GB, free: 26.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.3234, allocations: 38.91 kB / 0.5762 GB, free: 26.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.198e-05/0.3235, allocations: 323.2 kB / 0.5765 GB, free: 26.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.3236, allocations: 78.11 kB / 0.5766 GB, free: 26.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.3238, allocations: 97.36 kB / 0.5767 GB, free: 26.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.3242, allocations: 156.7 kB / 0.5768 GB, free: 26.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3242, allocations: 0 / 0.5768 GB, free: 26.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004493/0.3247, allocations: 215.4 kB / 0.577 GB, free: 25.99 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.3247, allocations: 4.219 kB / 0.577 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.3247, allocations: 1.75 kB / 0.577 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3247, allocations: 1.25 kB / 0.577 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.325, allocations: 40.64 kB / 0.5771 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.325, allocations: 1.281 kB / 0.5771 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.3251, allocations: 22.86 kB / 0.5771 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.3252, allocations: 8.734 kB / 0.5771 GB, free: 25.97 MB / 446.1 MB 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 7.115e-05/0.3252, allocations: 131.4 kB / 0.5772 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.3253, allocations: 13.75 kB / 0.5773 GB, free: 25.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004623/0.3257, allocations: 198.8 kB / 0.5774 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.3258, allocations: 2.266 kB / 0.5774 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.3258, allocations: 1.312 kB / 0.5775 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3258, allocations: 5.375 kB / 0.5775 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.3269, allocations: 0.9888 MB / 0.5784 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3269, allocations: 1.375 kB / 0.5784 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.3271, allocations: 28.44 kB / 0.5785 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3271, allocations: 7.203 kB / 0.5785 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.3272, allocations: 2 kB / 0.5785 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3272, allocations: 3 kB / 0.5785 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3272, allocations: 1.344 kB / 0.5785 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004221/0.3276, allocations: 290.8 kB / 0.5787 GB, free: 24.63 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.515e-05/0.3276, allocations: 90.45 kB / 0.5788 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.3277, allocations: 7.281 kB / 0.5788 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000216/0.3279, allocations: 13.31 kB / 0.5788 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.3279, allocations: 17.7 kB / 0.5789 GB, free: 24.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.328, allocations: 4.703 kB / 0.5789 GB, free: 24.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.14e-05/0.328, allocations: 118.4 kB / 0.579 GB, free: 24.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.328, allocations: 0 / 0.579 GB, free: 24.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004134/0.3285, allocations: 130.3 kB / 0.5791 GB, free: 24.4 MB / 446.1 MB 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.000834/0.3293, allocations: 0.9427 MB / 0.58 GB, free: 23.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004438/0.3297, allocations: 192.3 kB / 0.5802 GB, free: 23.57 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.3298, allocations: 0.6875 kB / 0.5802 GB, free: 23.57 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.33, allocations: 83.88 kB / 0.5803 GB, free: 23.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003813/0.3303, allocations: 43.86 kB / 0.5803 GB, free: 23.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.3326, allocations: 2.049 MB / 0.5823 GB, free: 21.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.3327, allocations: 0.7065 MB / 0.583 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001458/0.3328, allocations: 27.97 kB / 0.583 GB, free: 21.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.25e-05/0.3329, allocations: 42.78 kB / 0.5831 GB, free: 21.26 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3329, allocations: 0 / 0.5831 GB, free: 21.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06827/0.4012, allocations: 5.993 MB / 0.5889 GB, free: 18.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.585/7.986, allocations: 4.969 kB / 0.5889 GB, free: 18.43 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.pipe 2>&1)