Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.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_ZeroInput,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Compressors_Validation_ReciprocatingCompressor_ZeroInput",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.001115/0.001115, allocations: 110.1 kB / 16.27 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.001171/0.001171, allocations: 188.7 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.288/1.288, 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.7251/0.7251, allocations: 122.8 MB / 413.9 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 59.91 kB / 0.4912 GB, free: 7.367 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2855, allocations: 77.93 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput): time 0.002388/0.2879, allocations: 1.984 MB / 0.5692 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.2897, allocations: 1.668 MB / 0.5709 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.825e-05/0.2897, allocations: 1.25 kB / 0.5709 GB, free: 30.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 5.126e-05/0.2898, allocations: 21.56 kB / 0.5709 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.882e-05/0.2899, allocations: 49.5 kB / 0.5709 GB, free: 30.16 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007433/0.2906, allocations: 357.1 kB / 0.5713 GB, free: 29.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.2908, allocations: 217.8 kB / 0.5715 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.2909, allocations: 59.95 kB / 0.5715 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.811e-05/0.291, allocations: 76.42 kB / 0.5716 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.2911, allocations: 93.38 kB / 0.5717 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.011e-05/0.2912, allocations: 17.66 kB / 0.5717 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000629/0.2918, allocations: 399.6 kB / 0.5721 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.2918, allocations: 38.22 kB / 0.5721 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/0.2919, allocations: 89.64 kB / 0.5722 GB, free: 29.58 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004711/0.2924, allocations: 428.2 kB / 0.5726 GB, free: 29.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.2924, allocations: 0 / 0.5726 GB, free: 29.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2924, allocations: 3.938 kB / 0.5726 GB, free: 29.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2924, allocations: 0.9375 kB / 0.5726 GB, free: 29.44 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.0006067/0.293, allocations: 0.5206 MB / 0.5731 GB, free: 28.97 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.2931, allocations: 11.05 kB / 0.5731 GB, free: 28.97 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.771e-05/0.2931, allocations: 52.83 kB / 0.5732 GB, free: 28.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005369/0.2937, allocations: 92.25 kB / 0.5733 GB, free: 28.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.674e-05/0.2937, allocations: 175.2 kB / 0.5735 GB, free: 28.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.2938, allocations: 49.23 kB / 0.5735 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.2938, allocations: 18.12 kB / 0.5735 GB, free: 28.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.2942, allocations: 185.8 kB / 0.5737 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/0.2942, allocations: 2.5 kB / 0.5737 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.2942, allocations: 5.031 kB / 0.5737 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2943, allocations: 3.344 kB / 0.5737 GB, free: 28.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.2947, allocations: 185.5 kB / 0.5739 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001034/0.2957, allocations: 0.9236 MB / 0.5748 GB, free: 27.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004531/0.2962, allocations: 165 kB / 0.5749 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.2964, allocations: 79.7 kB / 0.575 GB, free: 27.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000476/0.2968, allocations: 0.52 MB / 0.5755 GB, free: 27.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.2969, allocations: 33.56 kB / 0.5756 GB, free: 26.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.193e-06/0.2969, allocations: 0 / 0.5756 GB, free: 26.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006322/0.2975, allocations: 246 kB / 0.5758 GB, free: 26.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.495e-05/0.2975, allocations: 54.17 kB / 0.5758 GB, free: 26.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.2976, allocations: 161.6 kB / 0.576 GB, free: 26.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.2977, allocations: 26.77 kB / 0.576 GB, free: 26.67 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.2977, allocations: 119 kB / 0.5761 GB, free: 26.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.2977, allocations: 45.38 kB / 0.5762 GB, free: 26.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.2978, allocations: 38.7 kB / 0.5762 GB, free: 26.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.735e-05/0.2979, allocations: 322.6 kB / 0.5765 GB, free: 26.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.298, allocations: 77.06 kB / 0.5766 GB, free: 26.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000194/0.2983, allocations: 95.09 kB / 0.5767 GB, free: 26.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/0.2986, allocations: 155.5 kB / 0.5768 GB, free: 26.04 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2986, allocations: 0 / 0.5768 GB, free: 26.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004442/0.2991, allocations: 213 kB / 0.577 GB, free: 25.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.2991, allocations: 4.938 kB / 0.577 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2991, allocations: 1.344 kB / 0.577 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.2991, allocations: 1.531 kB / 0.577 GB, free: 25.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.2993, allocations: 42.89 kB / 0.5771 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.2993, allocations: 5.812 kB / 0.5771 GB, free: 25.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.2995, allocations: 21.08 kB / 0.5771 GB, free: 25.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.2995, allocations: 7.172 kB / 0.5771 GB, free: 25.92 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.528e-05/0.2996, allocations: 132.6 kB / 0.5772 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.327e-05/0.2997, allocations: 16.28 kB / 0.5773 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004662/0.3001, allocations: 195 kB / 0.5774 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3002, allocations: 6.578 kB / 0.5775 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3002, allocations: 1.922 kB / 0.5775 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3002, allocations: 2.188 kB / 0.5775 GB, free: 25.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.3013, allocations: 0.9852 MB / 0.5784 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3013, allocations: 4.016 kB / 0.5784 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.3015, allocations: 28.03 kB / 0.5785 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3015, allocations: 1.844 kB / 0.5785 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.3015, allocations: 2.547 kB / 0.5785 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3015, allocations: 2.453 kB / 0.5785 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3015, allocations: 4.75 kB / 0.5785 GB, free: 24.78 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.3019, allocations: 290.4 kB / 0.5787 GB, free: 24.58 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.302, allocations: 90.75 kB / 0.5788 GB, free: 24.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.14e-05/0.302, allocations: 5.938 kB / 0.5788 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.3022, allocations: 14.81 kB / 0.5788 GB, free: 24.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.3023, allocations: 17.8 kB / 0.5789 GB, free: 24.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3023, allocations: 5.703 kB / 0.5789 GB, free: 24.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.822e-05/0.3023, allocations: 119.7 kB / 0.579 GB, free: 24.38 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3024, allocations: 5.625 kB / 0.579 GB, free: 24.38 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003623/0.3027, allocations: 125.6 kB / 0.5791 GB, free: 24.34 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.0007989/0.3035, allocations: 0.9469 MB / 0.58 GB, free: 23.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004358/0.304, allocations: 187.7 kB / 0.5802 GB, free: 23.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.304, allocations: 1.438 kB / 0.5802 GB, free: 23.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.3042, allocations: 84.62 kB / 0.5803 GB, free: 23.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.3045, allocations: 48.33 kB / 0.5803 GB, free: 23.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002176/0.3067, allocations: 2.063 MB / 0.5824 GB, free: 21.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.3068, allocations: 0.7093 MB / 0.583 GB, free: 21.23 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.307, allocations: 27 kB / 0.5831 GB, free: 21.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.083e-05/0.307, allocations: 43.09 kB / 0.5831 GB, free: 21.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3071, allocations: 1.531 kB / 0.5831 GB, free: 21.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1493/0.4563, allocations: 5.989 MB / 0.589 GB, free: 18.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/8.004, allocations: 18.64 kB / 0.589 GB, free: 18.39 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput_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_ZeroInput.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor_ZeroInput.pipe 2>&1)